Skip to content

Commit e94eddf

Browse files
committed
minor optim
1 parent 16b0c88 commit e94eddf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

the_80s/the_80s.s

+2-4
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,13 @@ debug equ 0
6565
move.w #3,(sp) ; Logbase
6666
trap #14 ; XBIOS
6767
move.l d0,logbase
68-
addq.l #2,sp ; correct stack
6968

70-
move.w #0,-(sp) ; resolution (0=ST low, 1=ST Mid)
69+
clr.w (sp) ; resolution (0=ST low, 1=ST Mid)
7170
move.l physbase,-(sp)
7271
move.l logbase,-(sp)
7372
move.w #5,-(sp) ; SetScreen
7473
trap #14 ; XBIOS
75-
lea 12(sp),sp
74+
lea 12(sp),sp ; correct stack
7675

7776
lea palettea,a0
7877
move.l a0,-(sp)
@@ -387,7 +386,6 @@ errorend:
387386
move.l logbase,-(sp)
388387
move.w #5,-(sp) ; SetScreen
389388
trap #14 ; XBIOS
390-
lea 12(sp),sp
391389

392390
clr (sp)
393391
trap #1 ; Pterm0

0 commit comments

Comments
 (0)