removed obsolete code, CBDOS is going to be based on hypervisor calls

This commit is contained in:
FeralChild64 committed 2021-02-02 22:06:57 +01:00
1 parent fb8592dc5e
commit 82729bb621
15 files changed
+1 -72

No files matched your search

+1 -3
View File
@@ -61,9 +61,7 @@ SRCDIR_KERNAL = $(SRCDIR_COMMON) \
src/kernal/time
SRCDIR_DOS_M65 = $(SRCDIR_COMMON) \
src/dos_m65 \
# src/dos_m65/cmdrdos \
src/dos_m65/sdcard
src/dos_m65
SRCDIR_MON_M65 = $(SRCDIR_COMMON) \
src/mon_m65
-2
View File
@@ -91,8 +91,6 @@
; --- Built-in DOS configuration
;; #CONFIG# CMDRDOS NO ; do not change, DOS is not implemented yet
;; #CONFIG# UNIT_SDCARD 0 ; do not change, DOS is not implemented yet
;; #CONFIG# UNIT_FLOPPY 0 ; do not change, DOS is not implemented yet
;; #CONFIG# UNIT_RAMDISK 0 ; do not change, DOS is not implemented yet
-12
View File
@@ -247,12 +247,6 @@
!ifndef CONFIG_VIC_PALETTE { !error "CONFIG_VIC_PALETTE not specified" }
}
; Check that internal DOS configuration is correct
!ifdef CONFIG_CMDRDOS { !ifndef CONFIG_MB_M65 {
!error "CONFIG_CMDRDOS requires CONFIG_MB_M65"
} }
; Check that startup banner configuration is correct
@@ -424,12 +418,6 @@
; Handle non-LGPL3 code
!ifdef CONFIG_CMDRDOS { !set HAS_NOLGPL3_WARN = 1 }
; Determine if we need space-savings in BASIC code
!ifndef CONFIG_MB_M65 { !ifndef ROM_LAYOUT_CRT {
-15
View File
@@ -1,15 +0,0 @@
;; #LAYOUT# M65 BASIC_1 #TAKE
;; #LAYOUT# * * #IGNORE
!ifdef HAS_NOLGPL3_WARN {
str_nonlgpl3_warn:
!byte $0D, $0D, $0D, $0D
!pet "build contains non-lgpl3 code"
!byte $0D
!pet " *** do not distribute ***"
!byte $0D, $0D, $00
}
-9
View File
@@ -64,18 +64,9 @@ INITMSG_native:
jsr initmsg_bytes_free
!ifdef HAS_NOLGPL3_WARN {
lda #<str_nonlgpl3_warn
ldy #>str_nonlgpl3_warn
jmp STROUT
} else {
ldx #$09
ldy #$00
jmp plot_set
}
INITMSG_main_banner:
-2
View File
@@ -115,5 +115,3 @@ initmsg_real:
}
}
!ifdef HAS_NOLGPL3_WARN { !error "HAS_NOLGPL3_WARN not implemented" }
-20
View File
@@ -20,23 +20,3 @@
!addr UNIT_SDCARD = $05
!addr UNIT_FLOPPY = $06
!addr UNIT_RAMDISK = $07
; SD/SDHC card variables
!addr CARD_INIT_DONE = $08 ; $80 - init done, $00 - init not done
!addr CARD_IS_SDHC = $09 ; $00 = SD, $80 = SDHC
!addr CARD_SIZE = $0A ; 4 bytes
!addr CARD_SECNUM = $0E ; 4 bytes - sector number
!addr CARD_TMP_STEP = $12 ; 4 bytes
!addr CARD_TMP_RETRIES = $16 ; 1 byte
!addr CARD_BUFPNT1 = $17 ; 4 bytes - pointer to hardware sector buffer XXX replace copy routines with DMAgic
!addr CARD_BUFPNT2 = $1B ; 4 bytes - as above, but points to the 2nd page of the hardware buffer
;
; High memory
;
!addr CARD_BUF = $8100 ; 512 bytes, up to $82FF - buffer for reading/writing data
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
-4
View File
@@ -1,4 +0,0 @@
!ifndef HAS_NOLGPL3_WARN {
!error "No LGPL3 incompatible warning issued"
}
-5
View File
@@ -26,9 +26,4 @@ dos_INIT:
lda #CONFIG_UNIT_RAMDISK
sta UNIT_RAMDISK
; Mark SD card as not initialized
lda #$00
sta CARD_INIT_DONE
rts