1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +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:
cuz 2002-12-24 14:22:42 +00:00
parent 38a33ebce8
commit fb2deff1d0

View File

@ -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!