Re: Gemini 80-Bus System
Assuming that the tracks 0, side 0 starting at sector 1 (not 0) and side 1 are loaded into the CP/M system at address 5d00
the following program should work
5000 21 00 5D LD HL,5D00
5003 11 00 DD LD DE,DD00
5006 01 00 0D LD BC,2300
5009 3E 0C LD A,0C
500B D3 BC OUT (BC),A
500D ED B0 LDIR
500F C3 00 F3 JP F300
(Load any program you like at 100)
if at 500f you add the following code
ld hl,0100h
ld (0f3c4),hl
jp 0f300h
it will run a program at address 0100 (Disked for example)
This should start CP/M in RAM and then optionally run the program given)
Last edited by JohnBHanson; 15th May 2019 at 10:15 pm.
Reason: Code corrected
|