initial support for Mega65 extra ROM

This commit is contained in:
FeralChild64 committed 2020-01-10 22:03:10 +01:00
1 parent 7539c6b072
commit 4d56864327
333 files changed
+1747 -289

No files matched your search

+6 -3
View File
@@ -1,7 +1,9 @@
#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
select_device:
// Take last device number, make sure it's a drive - 8 or above. Above 30,
// Take last device number, make sure it is a drive - 8 or above. Above 30,
// although illegal for IEC we also consider a drive, as they exists
// drivers assigning these numbers to CBM-DOS capable devices - like some
// IEEE-488 carts.
@@ -9,11 +11,12 @@ select_device:
// If current device is not a drive, set device to 8 (first drive number)
// Device number is left in X, for SETFLS Kernal routine
// Note: if tape support is introduced here, make sure DOS wedge won't get broken
ldx FA
cpx #$08
bcs !+
ldx #$08
!:
rts
#endif // ROM layout