The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cooming 2013: "Yumiko in the haunted Mansion"
#27
Without changing the data format - except to add a mask byte before each data byte I think something like:


Code:
; gets screen address in HL, AND bytes address in DE. Copies the 8 bytes TO the screen ld a,(DE) ; First Row AND (HL) LD C,A INC DE LD A,(DE) OR C LD (HL),A

Would do it - though it corrupts the C register.

Code:
; gets screen address in HL, AND bytes address in DE. Copies the 8 bytes TO the screen ld a,(DE) ; First Row AND (HL) INC DE EX DE,HL OR (HL) EX DE,HL LD (HL),a


May work - and doesn't use any other registers. ALso takes 42 T states as well.

sadly they both triple the time this block takes to run over the original without masking.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)