-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from skx/add-comment
Added "#.com", which allows us to have comments
- Loading branch information
Showing
5 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
;; comment.z80 - A "do nothing" binary. | ||
;; | ||
;; This binary is useful because it allows SUBMIT-files | ||
;; to contain comments. As everything is a binary in | ||
;; CP/M we can implement comments by just creating a command | ||
;; named "#" then the following will do nothing: | ||
;; | ||
;; # FOO BAR | ||
;; | ||
;; In reality the #.COM binary is loaded and "FOO BAR" are passed | ||
;; to it as arguments. But the end result is "nothing" as this | ||
;; binary immediately terminates. | ||
;; | ||
|
||
|
||
;; | ||
;; CP/M programs start at 0x100. | ||
;; | ||
ORG 100H | ||
|
||
;; | ||
;; JP 0x0000, but shorter | ||
;; | ||
rst 0 | ||
|
||
END |