mirror of
https://github.com/a2-4am/4live.git
synced 2024-06-09 01:29:30 +00:00
size optimisation. don't look.
This commit is contained in:
parent
7239f37a2c
commit
be7c7e431a
|
@ -73,7 +73,8 @@
|
||||||
WIDTH = 40
|
WIDTH = 40
|
||||||
HEIGHT = 24
|
HEIGHT = 24
|
||||||
LDRBASE = $2E0
|
LDRBASE = $2E0
|
||||||
INSTALLBUFFER = $237 ; yes, the overlay overwrites the loader...
|
INSTALLBUFFER = $239 ; yes, the overlay overwrites the loader...
|
||||||
|
; see also "warning!" below
|
||||||
SWAPBUFFER = $900 ; (LoadSaveEnd - LoadSaveStart) size
|
SWAPBUFFER = $900 ; (LoadSaveEnd - LoadSaveStart) size
|
||||||
; needed by DiversiDOS, must be page-aligned
|
; needed by DiversiDOS, must be page-aligned
|
||||||
; region is preserved across calls
|
; region is preserved across calls
|
||||||
|
@ -389,7 +390,11 @@ CharMap1
|
||||||
++ iny
|
++ iny
|
||||||
lda _WelcomeMessage-1,y
|
lda _WelcomeMessage-1,y
|
||||||
bne CharMap1
|
bne CharMap1
|
||||||
lda #<GlobalKeyboardHook
|
;;warning! takes advantage of the fact that the hook is at $300!
|
||||||
|
;;but this cannot be detected as assemble time because of the forward reference
|
||||||
|
;; !if <GlobalKeyboardHook {
|
||||||
|
;; lda #<GlobalKeyboardHook
|
||||||
|
;; }
|
||||||
sta KSWL
|
sta KSWL
|
||||||
lda #>GlobalKeyboardHook
|
lda #>GlobalKeyboardHook
|
||||||
sta KSWH
|
sta KSWH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user