MEGA65 banner now displays internal device numbers
This commit is contained in:
1 parent
92d1ad0177
commit
5f6a8eb7bf
11 files changed
+67
-40
No files matched your search
@@ -50,6 +50,8 @@
|
||||
;; #ALIAS# m65_shadow_BZP = KERNAL_0.m65_shadow_BZP
|
||||
;; #ALIAS# proxy_M1_IO_end = KERNAL_0.proxy_M1_IO_end
|
||||
|
||||
;; #ALIAS# m65dos_unitnum = KERNAL_0.m65dos_unitnum
|
||||
|
||||
;
|
||||
; Ultimate 64 specific parts
|
||||
;
|
||||
|
||||
@@ -106,12 +106,46 @@ print_sysinfo_video:
|
||||
@5:
|
||||
jsr print_packed_misc_str
|
||||
|
||||
; Print build featires information
|
||||
; Print build features information
|
||||
|
||||
ldx #IDX__STR_SI_FEATURES
|
||||
jmp print_packed_misc_str
|
||||
jsr print_packed_misc_str
|
||||
|
||||
; Print SD CARD unit ID
|
||||
|
||||
lda #$00
|
||||
jsr cmd_sysinfo_print_dev
|
||||
|
||||
ldx #IDX__STR_DOS_FD
|
||||
jsr print_packed_misc_str
|
||||
|
||||
; Print floppy unit ID
|
||||
|
||||
lda #$01
|
||||
jsr cmd_sysinfo_print_dev
|
||||
|
||||
; Print ram disk unit ID
|
||||
|
||||
ldx #IDX__STR_DOS_RD
|
||||
jsr print_packed_misc_str
|
||||
|
||||
lda #$02
|
||||
jsr cmd_sysinfo_print_dev
|
||||
|
||||
jmp print_return
|
||||
|
||||
cmd_sysinfo_print_dev:
|
||||
|
||||
jsr m65dos_unitnum
|
||||
bcs @nounit
|
||||
tax
|
||||
lda #$00
|
||||
jmp print_integer
|
||||
|
||||
@nounit:
|
||||
|
||||
lda #'-'
|
||||
jmp JCHROUT
|
||||
|
||||
cmd_sysinfo_hw_ids:
|
||||
|
||||
|
||||
@@ -46,3 +46,4 @@
|
||||
;; #ALIAS# fetch_character_skip_spaces = BASIC_0.proxy_B1_fetch_character_skip_spaces
|
||||
;; #ALIAS# fetch_uint8 = BASIC_0.proxy_B1_fetch_uint8
|
||||
;; #ALIAS# shell_main_loop = BASIC_0.proxy_B1_shell_main_loop
|
||||
;; #ALIAS# m65dos_unitnum = BASIC_0.proxy_B1_m65dos_unitnum
|
||||
@@ -156,3 +156,9 @@ proxy_M1_print_kernal_error:
|
||||
jsr do_error_print_only
|
||||
jmp proxy_M1_IO_end
|
||||
}
|
||||
|
||||
proxy_B1_m65dos_unitnum:
|
||||
|
||||
jsr map_NORMAL
|
||||
jsr m65dos_unitnum
|
||||
bra proxy_B1_end_2
|
||||
@@ -31,11 +31,11 @@ INITMSG_native:
|
||||
|
||||
; Native mode
|
||||
|
||||
ldx #48
|
||||
ldx #44
|
||||
ldy #0
|
||||
jsr M65_SETWIN_XY
|
||||
|
||||
ldx #32
|
||||
ldx #36
|
||||
ldy #9
|
||||
jsr M65_SETWIN_WH
|
||||
|
||||
|
||||
Reference in new issue
Block a user