New ZX81 Games
Re: New ZX81 Games
It's working nicely, but note that it isn't compatible with the first edition ZX81 ROM.
Re: New ZX81 Games
1 enthousiast coder made it worthwhile to write the document.
As written to Paul "Fruitcake" Farrow, the CALL the #19F9 in ROM is the issue 1 ROM issue.
Re: New ZX81 Games
Yes.
The LDIR at $19F9 in the edition 2 and 3 ROMs is at $19F8 in the edition 1 ROM.
Re: New ZX81 Games
I know of that change. I use LDIR RET for a copy with a conditinal CALL.
This saves 1 byte and sometime I need that single byte.
At #A6e I can use another LDIR (with a PUSH and a POP) so if the ROM is here the same I can make the games compatible without adding bytes.
Code: Select all
; ----------------------------
; THE 'RECLAIMING' SUBROUTINES
; ----------------------------
;
;
;; RECLAIM-1
L0A5D: CALL L0A17 ; routine DIFFER
;; RECLAIM-2
L0A60: PUSH BC ;
LD A,B ;
CPL ;
LD B,A ;
LD A,C ;
CPL ;
LD C,A ;
INC BC ;
CALL L09AD ; routine POINTERS
EX DE,HL ;
POP HL ;
ADD HL,DE ;
L0A6E: PUSH DE ;
LDIR ; Copy Bytes
POP HL ;
RET ;
Re: New ZX81 Games
Hi,
My solution was to replace it with this "push hl ; call $A6F". Works with editions 1 and 2 for the price of a byte (which gets overwritten anyway).
I'm I able to update the file I previously uploaded or should I reupload?
My solution was to replace it with this "push hl ; call $A6F". Works with editions 1 and 2 for the price of a byte (which gets overwritten anyway).
I'm I able to update the file I previously uploaded or should I reupload?
Memotech rules
Re: New ZX81 Games
Also, if you are willing to let HL = DE after the call, then "jp $A6E" will work too.
In my last post I meant to put "push hl ; jp $A6F".
In my last post I meant to put "push hl ; jp $A6F".

Memotech rules