mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-11 14:30:08 +00:00
unnecessary pushes/pops
This commit is contained in:
parent
5f50068fcd
commit
170fbf57f3
@ -191,9 +191,7 @@ E(read_keyboard_strobe)
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
E(read_random)
|
E(read_random)
|
||||||
pushal
|
|
||||||
call SN(c_read_random)
|
call SN(c_read_random)
|
||||||
popal
|
|
||||||
movb SN(random_value), %al
|
movb SN(random_value), %al
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -819,18 +817,14 @@ E(iie_altchar_off)
|
|||||||
testl $SS_ALTCHAR, SN(softswitches)
|
testl $SS_ALTCHAR, SN(softswitches)
|
||||||
jz ram_nop
|
jz ram_nop
|
||||||
andl $~SS_ALTCHAR, SN(softswitches)
|
andl $~SS_ALTCHAR, SN(softswitches)
|
||||||
pushal
|
|
||||||
call SN(c_set_primary_char)
|
call SN(c_set_primary_char)
|
||||||
popal
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
E(iie_altchar_on)
|
E(iie_altchar_on)
|
||||||
testl $SS_ALTCHAR, SN(softswitches)
|
testl $SS_ALTCHAR, SN(softswitches)
|
||||||
jnz ram_nop
|
jnz ram_nop
|
||||||
orl $SS_ALTCHAR, SN(softswitches)
|
orl $SS_ALTCHAR, SN(softswitches)
|
||||||
pushal
|
|
||||||
call SN(c_set_altchar)
|
call SN(c_set_altchar)
|
||||||
popal
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
E(iie_check_altchar)
|
E(iie_check_altchar)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user