Prev: WTB. SX 64
Next: JHM more info needed
From: Tinkerer Atlarge on 11 Feb 2010 21:32 > MONITOR > PC SR AC XR YR SP > ; FB000 00 00 00 00 FA > ZR > PC AF BC DE HL IX SP > Z; 01A26 0000 0000 0000 0000 0000 1BA0 > 0000 0000 0000 0000 0000 0000 > ZA 08000 3E 20 LD A,$20 > ZA 08002 11 00 04 LD DE,$0400 > ZA 08005 12 LD (DE),A > ZA 08006 13 INC DE > ZA 08007 21 EB 07 LD HL, $07EB > ZA 0800A ED 52 SBC HL,DE > ZA 0800C 20 F7 JR NZ,$8005 > ZA 0800E C9 RET > ZA 0800F > > What an absolutely cool way to clear the screen! Actually it won't clear the screen unless you type ZJ 28000 ( 8000 won't work) The CP/M BIOS chip lives at 0000-0FFF. You can bank that chip out of the way by executing the above code in Bank 2 which shares the same RAM at $8000 but not at $0400 when the Z80 is running. (I'm not sure what would happen if you had more than 128K of RAM).
|
Pages: 1 Prev: WTB. SX 64 Next: JHM more info needed |