This repository has been archived by the owner on May 21, 2024. It is now read-only.
forked from boriel-basic/zxbasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in bugfix/headerless_start_label (pull request boriel-basic#224)
Bugfix: emmit start label in headless mode Approved-by: Jose Rodriguez <boriel@gmail.com>
- Loading branch information
Showing
3 changed files
with
6 additions
and
5 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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
org 32768 | ||
__START_PROGRAM: | ||
ld hl, _a | ||
inc (hl) | ||
ld hl, 0 | ||
ld b, h | ||
ld c, l | ||
__END_PROGRAM: | ||
ret | ||
|
||
ZXBASIC_USER_DATA: | ||
_a: | ||
DEFB 02h | ||
; Defines DATA END --> HEAP size is 0 | ||
ZXBASIC_USER_DATA_END EQU ZXBASIC_MEM_HEAP | ||
; Defines USER DATA Length in bytes | ||
ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_END - ZXBASIC_USER_DATA | ||
END | ||
END __START_PROGRAM |
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