XRoar and 6309 emulation

A place to discuss everything Dragon related that doesn't fall into the other categories.
Post Reply
pser1
Posts: 1351
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

XRoar and 6309 emulation

Post by pser1 » Fri Jun 07, 2019 6:10 pm

Hello Ciaran,
after some tests while converting AGD games, I found out that when my programs enter NATIVE mode when a 6309 is found
then, in case, you exit the game by pressing RESET, the emulation stays in native mode but with the Basic and DOS this is
dangerous because now there are two extra registers and codes like LEAS 12,S need to be modified. DOS fails with a simple DIR.

Using a Dragon64 it always returns to compatibility mode after a reset and IIRC I read about that in some 6309 doc
Could it could be done on XRoar when we select to Reset the machine. Something like LDMD 0 should do the trick

cheers
pere

Post Reply