Skip to content

Commit

Permalink
Add support for Sharp PC 1403(H) #951 - prologue and epilogue
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlessmind1975 committed Nov 26, 2024
1 parent cbdb400 commit f21ee9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ugbc/src/targets/pc1403/_var.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,15 +520,16 @@ void variable_cleanup( Environment * _environment ) {
// Prologo per compatibilità con BASIC

outline0("LP 0");
outline0("LIDP 0x4a"); // sreg
outline0("LIDP sreg");
outline0("LII 0x11");
outline0("EXWD");
outline0("CALL CODESTARTMAIN");
outline0("LP 0");
outline0("LIDP 0x4a"); // sreg
outline0("LIDP sreg");
outline0("LII 0x11");
outline0("MVWD");
outline0("RTN");
outhead0("sreg: .dw 0, 0, 0, 0, 0, 0");

outhead0("CODESTARTMAIN:");
outline0("JP CODESTART2");
Expand Down

0 comments on commit f21ee9d

Please sign in to comment.