small tweaks

This commit is contained in:
FeralChild64 committed 2020-10-07 18:29:59 +02:00
1 parent b965e035f9
commit aa9a7ffcb5
5 files changed
+41 -15

No files matched your search

+3
View File
@@ -14,14 +14,17 @@ Follow these rules, or bad things will happen!
* The generic ROM set should be compatible with any C64-compatible machine; platform-specific ROMs might not work on other platforms. * The generic ROM set should be compatible with any C64-compatible machine; platform-specific ROMs might not work on other platforms.
<br />
For Ultimate 64 the following settinghs are recommended: For Ultimate 64 the following settinghs are recommended:
* U64 Specific Settings -> Turbo Control -> U64 Turbo Registers * U64 Specific Settings -> Turbo Control -> U64 Turbo Registers
<br />
Have fun! Have fun!
<br />
------ ------
+16 -10
View File
@@ -39,25 +39,31 @@ rainbow_logo:
!set SET_COLOR_0 = $05 !set SET_COLOR_0 = $05
!set SET_COLOR_1 = $1C !set SET_COLOR_1 = $1C
!set SET_COLOR_2 = $9E !set SET_COLOR_2 = $81
!set SET_COLOR_3 = $1E !set SET_COLOR_3 = $9E
!set SET_COLOR_4 = $9F !set SET_COLOR_4 = $1E
!set SET_COLOR_5 = $9F
!ifdef CONFIG_MB_U64 { !ifdef CONFIG_MB_U64 {
!byte SET_COLOR_1, $B8, $B8, $B8, $B8, $B8, $B8, $B8, $0D !byte SET_COLOR_1, $B8, $B8, $B8, $B8, $B8, $B8, $0D
!byte SET_COLOR_2, $B8, $B8, $B8, $B8, $B8, $B8, $B8, $0D !byte SET_COLOR_2, $B8, $B8, $B8, $B8, $B8, $B8, $0D
!byte SET_COLOR_3, $B8, $B8, $B8, $B8, $B8, $B8, $B8, $0D !byte SET_COLOR_3, $B8, $B8, $B8, $B8, $B8, $B8, $0D
!byte SET_COLOR_4, $B8, $B8, $B8, $B8, $B8, $B8, $B8, $0D !byte SET_COLOR_4, $B8, $B8, $B8, $B8, $B8, $B8, $0D
!byte SET_COLOR_5, $B8, $B8, $B8, $B8, $B8, $B8, $0D
!byte SET_COLOR_0, $00 !byte SET_COLOR_0, $00
!set BANNER_SPACING = $09
} else { } else {
!byte SET_COLOR_1, $12, $A4, $A4, $A4, $A4, $A4, $A4, $A4, $0D !byte SET_COLOR_1, $12, $A4, $A4, $A4, $A4, $A4, $A4, $A4, $0D
!byte SET_COLOR_2, $12, $A4, $A4, $A4, $A4, $A4, $A4, $0D !byte SET_COLOR_3, $12, $A4, $A4, $A4, $A4, $A4, $A4, $0D
!byte SET_COLOR_3, $12, $A4, $A4, $A4, $A4, $A4, $0D !byte SET_COLOR_4, $12, $A4, $A4, $A4, $A4, $A4, $0D
!byte SET_COLOR_4, $12, $A4, $A4, $A4, $A4, $92 !byte SET_COLOR_5, $12, $A4, $A4, $A4, $A4, $92
!byte SET_COLOR_0, $00 !byte SET_COLOR_0, $00
!set BANNER_SPACING = $0A
} }
} }
+3 -3
View File
@@ -60,7 +60,7 @@ initmsg_real:
jsr STROUT jsr STROUT
ldx #$00 ldx #$00
ldy #$0A ldy #BANNER_SPACING
jsr plot_set jsr plot_set
lda #<startup_banner lda #<startup_banner
@@ -70,7 +70,7 @@ initmsg_real:
!ifndef CONFIG_BRAND_CUSTOM { !ifndef CONFIG_BRAND_CUSTOM {
ldx #$01 ldx #$01
ldy #$0A ldy #BANNER_SPACING
jsr plot_set jsr plot_set
ldx #IDX__STR_PRE_REV ldx #IDX__STR_PRE_REV
@@ -87,7 +87,7 @@ initmsg_real:
} else { } else {
ldx #$02 ldx #$02
} }
ldy #$0A ldy #BANNER_SPACING
jsr plot_set jsr plot_set
jsr initmsg_bytes_free jsr initmsg_bytes_free
-1
View File
@@ -46,7 +46,6 @@ sdcard_readsector_try_loop:
jsr sdcard_wait_ready jsr sdcard_wait_ready
bcs sdcard_readsector_fail bcs sdcard_readsector_fail
lda SD_CTL lda SD_CTL
and #$67 and #$67
bne sdcard_readsector_copy_data bne sdcard_readsector_copy_data
+19 -1
View File
@@ -81,7 +81,25 @@ sdcard_writesector_verify:
; There is a bug in the SD controller; you have to read between writes, ; There is a bug in the SD controller; you have to read between writes,
; or it gets really upset ; or it gets really upset
; XXX @1:
lda SD_CTL
and #$03
bne @1
lda #CARD_CMD_READ ; $02
sta SD_CTL
@2:
lda SD_CTL
and #$03
beq @2
@3: ; XXX deduplicate this ppart
lda SD_CTL
and #$03
bne @3
; XXX verify - compare buffer