mirror of
https://github.com/cc65/cc65.git
synced 2025-01-13 09:31:53 +00:00
Shortened the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1836 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
38a33ebce8
commit
fb2deff1d0
@ -99,15 +99,9 @@ _tgi_setup:
|
||||
lda #>tgi_emu_bar
|
||||
sta tgi_bar+2
|
||||
|
||||
@L2: lda ptr1
|
||||
pha
|
||||
lda ptr1+1
|
||||
pha
|
||||
jsr tgi_install ; Call driver install routine
|
||||
pla ; (may update variables)
|
||||
sta ptr1+1 ; (may modify ptr1 so it is preserved)
|
||||
pla
|
||||
sta ptr1
|
||||
@L2: jsr tgi_install ; Call driver install routine, may...
|
||||
; ...update variables
|
||||
jsr tgi_set_ptr ; Set ptr1 to tgi_drv
|
||||
|
||||
; Copy variables. Beware: We are using internal knowledge about variable
|
||||
; layout here!
|
||||
|
Loading…
x
Reference in New Issue
Block a user