Skip to content

Commit

Permalink
disable apd
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Aug 20, 2018
1 parent bc96d89 commit 37e82b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/execute.asm
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ execute_program:
execute_assembly_program:
ld hl,return_asm
push hl
call _DisableAPD
set appAutoScroll,(iy + appflags) ; allow scrolling
jp userMem

Expand All @@ -123,8 +124,7 @@ execute_basic_program:
call _RunIndicOn
bit setting_basic_indicator,(iy + settings_flag)
call nz,_RunIndicOff
call _APDSetup
call _EnableAPD
call _DisableAPD
call hook_home.save
call hook_home.set
bit prgm_archived,(iy + prgm_flag)
Expand Down Expand Up @@ -164,5 +164,6 @@ execute_basic_program:
push hl
sub a,a
ld (kbdGetKy),a
call _DisableAPD
ei
jp _ParseInp ; run program

0 comments on commit 37e82b0

Please sign in to comment.