Stefan Haubenthal Posted February 11, 2012 Share Posted February 11, 2012 Hi! Does any DOS have a DOSVEC>$E000? How do you distinguish between a DOS and a CAS boot? Thanks in advance, Stefan Quote Link to comment Share on other sites More sharing options...
Rybags Posted February 11, 2012 Share Posted February 11, 2012 The Boot? flag is location 9. Bit 0 = disk, bit 1 = tape. It's valid for both to be set. Bit 0 set means a disk has (probably) booted, but not necessarily that a Dos has loaded. There's no way really to know for sure a Dos is resident, although scanning the handler table at $31A and finding a "D" device handler would normally mean a Dos is present. Casini vector is (2,3) Diskini vector is ($c,$d). Purpose of these is just initialization when the user hits reset and when the boot process finishes. Dosvec default value on XL just goes to Self-Test. There's no valid reason with a Dos loaded for it to have a value >= $C000 unless you have some sort of custom OS with inbuild Dos functions. For a cart based DOS e.g. SDX - it should point to somewhere in low RAM area. DOS cartridge is normally swapped out and needs some code resident in RAM to perform such functions as switching the cartridge back on. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.