From ff0018c1d007bb6a03d39ebd3f44f574573c8399 Mon Sep 17 00:00:00 2001 From: Curtis F Kaylor Date: Sat, 18 May 2019 22:27:09 -0400 Subject: [PATCH] Added labels start and exit to system header files --- include/apple1.h02 | 4 ++++ include/apple2.h02 | 6 +++++- include/c64.h02 | 4 ++++ include/header.h02 | 4 ++++ include/oric.h02 | 4 ++++ include/py65.h02 | 4 ++++ include/py65min.h02 | 3 +++ include/vic20.h02 | 4 ++++ include/vic3k.h02 | 3 +++ include/vic8k.h02 | 4 ++++ 10 files changed, 39 insertions(+), 1 deletion(-) diff --git a/include/apple1.h02 b/include/apple1.h02 index 1aa7269..baabccd 100644 --- a/include/apple1.h02 +++ b/include/apple1.h02 @@ -46,3 +46,7 @@ void newlin(); //Advance cursor to beginning of next line char polkey(); //Poll Console for character char putchr(); //Print ASCII character to Console char getchr(); //Wait for character from Console + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/apple2.h02 b/include/apple2.h02 index a0fce9f..1e0ef4d 100644 --- a/include/apple2.h02 +++ b/include/apple2.h02 @@ -29,7 +29,7 @@ char kbd; //Keyboard Data Register char akd; //Keyboard Strobe Register /* Monitor Subroutines */ -void prbyte(); //Print Accumulator as Hexadadecimal number +void prbyte(); //Print Accumulator as Hexadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit /* System Subroutines */ @@ -43,3 +43,7 @@ void newlin(); //Advance cursor to beginning of next line char polkey(); //Poll Console for character char putchr(); //Print ASCII character to Console void setpos(); //Set Cursor Position + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/c64.h02 b/include/c64.h02 index 9999ebb..505d719 100644 --- a/include/c64.h02 +++ b/include/c64.h02 @@ -33,3 +33,7 @@ void prbyte(); //Print Accumulator as Hexadadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit char getchr(); //Wait for character from Keyboard void setpos(); //Set Cursor Position + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/header.h02 b/include/header.h02 index fe2dadf..610bd31 100644 --- a/include/header.h02 +++ b/include/header.h02 @@ -45,3 +45,7 @@ void prbyte(); //Print Accumulator as Hexadadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit char getchr(); //Wait for character from Console void setpos(); //Set Cursor Position + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/oric.h02 b/include/oric.h02 index cee82cd..dc02cb9 100644 --- a/include/oric.h02 +++ b/include/oric.h02 @@ -25,3 +25,7 @@ void newlin(); //Advance cursor to beginning of next line char putchr(); //Print ASCII character to Console void prbyte(); //Print Accumulator as Hexadadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/py65.h02 b/include/py65.h02 index 465719e..2c0fdf2 100644 --- a/include/py65.h02 +++ b/include/py65.h02 @@ -34,3 +34,7 @@ void delchr(); //Delete previous character char putchr(); //Print ASCII character to Console void prbyte(); //Print Accumulator as Hexadadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/py65min.h02 b/include/py65min.h02 index 0b1b754..e413b50 100644 --- a/include/py65min.h02 +++ b/include/py65min.h02 @@ -16,3 +16,6 @@ char getchr(); //Wait for character from Console char getkey(); //Read ASCII character from Console char putchr(); //Print ASCII character to Console +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/vic20.h02 b/include/vic20.h02 index b06e43e..88bc6be 100644 --- a/include/vic20.h02 +++ b/include/vic20.h02 @@ -33,3 +33,7 @@ void prbyte(); //Print Accumulator as Hexadadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit char getchr(); //Wait for character from Keyboard void setpos(); //Set Cursor Position + +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/vic3k.h02 b/include/vic3k.h02 index 2dda702..5bf5e9a 100644 --- a/include/vic3k.h02 +++ b/include/vic3k.h02 @@ -32,3 +32,6 @@ char putchr(); //Print ASCII character to Console void prbyte(); //Print Accumulator as Hexadadecimal number void prhex(); //Print Low Nybble of Accumulator as Hex Digit +//System Labels +start: //Start of Code +exit: //Return to Operating System diff --git a/include/vic8k.h02 b/include/vic8k.h02 index f5179a9..6dc6f0a 100644 --- a/include/vic8k.h02 +++ b/include/vic8k.h02 @@ -35,3 +35,7 @@ void clrscr(); //Clear the Screen char getsiz(); //Get Screen Size char getpos(); //Get Cursor Position void setpos(); //Set Cursor Position + +//System Labels +start: //Start of Code +exit: //Return to Operating System