Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Save bug (*solved*)
#20
I think it's finally fixed. Please download Version 1.3.0s997.

This version does still uses MEMBOT. Using the heap while preserving registers and so on will increase the code more than 17 bytes (which would be equivalent to define a DW 0, 0, 0, ... <8 times + 1 extra byte> in static memory for the header). The other solution is, yes, you can write your own save routine in asm, like:
Code:
Sub SaveCode(name as string, start as Uinteger, len as Uinteger)
    asm
    ...
    end asm
End Sub
which will do exactly what you want.

I tried to implement SAVE/LOAD just for backward compatibility only (I would like them to work with ZX Divide; I own one :mrgreen: )

Anyway, can you check PRINT now works after SAVE, please? :roll:
BTW, the problem with this PRINT bug was due to the "Start Tape, then press any key" ROM msg, which was tampering ECHO_E System variable (used by PRINT routines).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)