Utility to test 6309 modes
Posted: Tue May 07, 2013 11:02 pm
Hello,
I was making tests in XRoar and with a Dragon64 with a 63C09 and a Lafumat controller.
I was testing every D.O.S. version we have (15 different ones from Dragon Data, Eurohard, SuperDos, Cumana and DosPlus),
and have no problems to copy them to RAM, then switch to MAP1 and send BASIC and DOS to their right places, and then
just JMP $C002 to start the new DOS. So far no problems.
When I wanted to go back to the DOS in ROM (switching to Map0), the systems crashes or simply hangs, needing a cold
restart to come back to life.
I tried to change $71 and $72-73 to force a warm or cold start with a JMP $B3B4 but got the very same results.
I have not been able to find a way to make the Dragon perform this jump-back
Any advice on that subject will be really very, very appreciated. Help!!
I am developping a small program that extends BASIC commands (for practicing purposes) adding some,
most of the info to do that has been found in our forums or in internet docs.
These are the added commands:
WCPU to know the CPU installed in the machine
WMODE to know the mode you are in (emulation or native if a 63x09 exists)
NAT63 switches to native mode
EMU68 back to emulation mode
HMRAM tells if there are 64k or 32k
RPTON turns on autorepeat
RPTOF turns that off
WDOS shows wich of the 15 known DOS is active now
WMAP to know the map you are in
GMAP1 to switch to map 1
GMAP0 this is the one that crashes
They all can be used in BASIC programs or from the command prompt and use a small amount of unused variables to store results
that can be read later. Shows messages, but has an implemented silent mode not to disturb user screen in programs.
I thought this would help making tests to compare both 6309 modes, simply including the change of mode command inside the benchmark
programs anyone could want to build.
I attach zip file containing:
- an vdk image with the sources in DREAM format (I'm using DSKDREAM) together with the binary and a Basic program to
install and test it
- three WAVs with the binary and basic programs to load right to Dragon or XRoar
- a text file with the source code as commented as I could.
- a Read me file
Pere
I was making tests in XRoar and with a Dragon64 with a 63C09 and a Lafumat controller.
I was testing every D.O.S. version we have (15 different ones from Dragon Data, Eurohard, SuperDos, Cumana and DosPlus),
and have no problems to copy them to RAM, then switch to MAP1 and send BASIC and DOS to their right places, and then
just JMP $C002 to start the new DOS. So far no problems.
When I wanted to go back to the DOS in ROM (switching to Map0), the systems crashes or simply hangs, needing a cold
restart to come back to life.
I tried to change $71 and $72-73 to force a warm or cold start with a JMP $B3B4 but got the very same results.
I have not been able to find a way to make the Dragon perform this jump-back
Any advice on that subject will be really very, very appreciated. Help!!
I am developping a small program that extends BASIC commands (for practicing purposes) adding some,
most of the info to do that has been found in our forums or in internet docs.
These are the added commands:
WCPU to know the CPU installed in the machine
WMODE to know the mode you are in (emulation or native if a 63x09 exists)
NAT63 switches to native mode
EMU68 back to emulation mode
HMRAM tells if there are 64k or 32k
RPTON turns on autorepeat
RPTOF turns that off
WDOS shows wich of the 15 known DOS is active now
WMAP to know the map you are in
GMAP1 to switch to map 1
GMAP0 this is the one that crashes
They all can be used in BASIC programs or from the command prompt and use a small amount of unused variables to store results
that can be read later. Shows messages, but has an implemented silent mode not to disturb user screen in programs.
I thought this would help making tests to compare both 6309 modes, simply including the change of mode command inside the benchmark
programs anyone could want to build.
I attach zip file containing:
- an vdk image with the sources in DREAM format (I'm using DSKDREAM) together with the binary and a Basic program to
install and test it
- three WAVs with the binary and basic programs to load right to Dragon or XRoar
- a text file with the source code as commented as I could.
- a Read me file
Pere