Ha ha so I contacted YOU!!!!
Nice one Stefano touché.
Discussion forums for users of the Sinclair ZX80 / ZX81 and their clones
About the ZX80 / ZX81
As before (Super Micro Chess is the only program I ever did on ZX81) it will take some time for me to understand the platform, but I’m convinced it can be made in some way. I need just some time to work it on, and the support of this fantastic community!
$0196 seems even better taking care of a lot of initializations:marste wrote: ↑Sat Mar 25, 2017 10:48 pmSecond, seems to me that the routines $01AB and $01D0 are not reading keyboard (in LAST_K at $4026) and without it I would have to reimplement this logic (simple - I need just the "row" - but consuming few precious bytes)... Is it possible instead to call the $013C? And in case, what will be the proper way to call it?
Code: Select all
L0196: OUT ($FF),A ;; (11) stops the VSYNC pulse LD A,$EC ;; ( 7) the value for R register LD B,$19 ;; there are 25 HALTs including the initial ;; one. LD HL,($400C) ;; point HL to D-FILE the first HALT ;; instruction. SET 7,H ;; now point to the DFILE echo in the ;; top 32K of address space. CALL L01AD ;; routine DISP-2 LD A,$F3 ;; prepare to set the R refresh register to $F3. INC B ;; increment the line count DEC HL ;; decrement screen address. DEC (IY+$23) ;; decrement RESULT_hi the blank line counter. JR L013C ;; back to display and read
Are you using ZX81 with 5 resistors on the CPU and ZX80 ROM as your "ZX80"?marste wrote: ↑Fri Apr 07, 2017 12:21 amSeems then that eightyone behaviors were closer to the real one, and no$zx was not accurate enough despite autorun management...
Seems that despite being more simple it is not emulated very well!
I have to make more tests with a real (or almost real) one....