forked from gbdev/rgbds
-
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.
- Loading branch information
Showing
78 changed files
with
350 additions
and
263 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
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 |
---|---|---|
@@ -1,57 +1,49 @@ | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(7): | ||
'__UTC_YEAR__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(8): | ||
'__UTC_YEAR__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(11): | ||
'__UTC_YEAR__' already defined at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(12): | ||
'__UTC_YEAR__' already defined at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(16): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(5): | ||
Built-in symbol '__UTC_YEAR__' cannot be purged | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(17): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(6): | ||
Built-in symbol '__UTC_YEAR__' cannot be purged | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(20): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(9): | ||
'__UTC_YEAR__' already defined at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(21): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(10): | ||
'__UTC_YEAR__' already defined at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(24): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(13): | ||
'__UTC_YEAR__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(25): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(14): | ||
'__UTC_YEAR__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(28): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(17): | ||
'__UTC_YEAR__' already defined at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(29): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(18): | ||
'__UTC_YEAR__' already defined at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(32): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(21): | ||
'__UTC_YEAR__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(33): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(22): | ||
'__UTC_YEAR__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(36): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(25): | ||
'__UTC_YEAR__' already defined as non-EQUS at <command-line> | ||
error: builtin-overwrite.asm(43) -> builtin-overwrite.asm::tickle(37): | ||
error: builtin-overwrite.asm(32) -> builtin-overwrite.asm::tickle(26): | ||
'__UTC_YEAR__' already defined as non-EQUS at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(16): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(5): | ||
Built-in symbol '__ISO_8601_UTC__' cannot be purged | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(17): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(6): | ||
Built-in symbol '__ISO_8601_UTC__' cannot be purged | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(20): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(9): | ||
'__ISO_8601_UTC__' already defined at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(21): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(10): | ||
'__ISO_8601_UTC__' already defined at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(24): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(13): | ||
'__ISO_8601_UTC__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(25): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(14): | ||
'__ISO_8601_UTC__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(28): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(17): | ||
'__ISO_8601_UTC__' already defined at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(29): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(18): | ||
'__ISO_8601_UTC__' already defined at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(32): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(21): | ||
'__ISO_8601_UTC__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(33): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(22): | ||
'__ISO_8601_UTC__' already defined as constant at <command-line> | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(36): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(25): | ||
Built-in symbol '__ISO_8601_UTC__' cannot be redefined | ||
error: builtin-overwrite.asm(44) -> builtin-overwrite.asm::tickle(37): | ||
error: builtin-overwrite.asm(33) -> builtin-overwrite.asm::tickle(26): | ||
Built-in symbol '__ISO_8601_UTC__' cannot be redefined | ||
error: Assembly aborted (28 errors)! | ||
error: Assembly aborted (24 errors)! |
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 |
---|---|---|
|
@@ -4,8 +4,6 @@ $7C5 | |
$7C5 | ||
$7C5 | ||
$7C5 | ||
$7C5 | ||
$7C5 | ||
1989-04-21T12:34:56Z | ||
1989-04-21T12:34:56Z | ||
1989-04-21T12:34:56Z | ||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(4): [-Wobsolete] | ||
`p =` is deprecated; use `DEF p =` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(6): [-Wobsolete] | ||
`p +=` is deprecated; use `DEF p +=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(8): [-Wobsolete] | ||
`p -=` is deprecated; use `DEF p -=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(10): [-Wobsolete] | ||
`p *=` is deprecated; use `DEF p *=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(12): [-Wobsolete] | ||
`p /=` is deprecated; use `DEF p /=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(14): [-Wobsolete] | ||
`p %=` is deprecated; use `DEF p %=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(16): [-Wobsolete] | ||
`p |=` is deprecated; use `DEF p |=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(18): [-Wobsolete] | ||
`p ^=` is deprecated; use `DEF p ^=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(20): [-Wobsolete] | ||
`p &=` is deprecated; use `DEF p &=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(22): [-Wobsolete] | ||
`p <<=` is deprecated; use `DEF p <<=` | ||
warning: compound-assignment.asm(29) -> compound-assignment.asm::try(24): [-Wobsolete] | ||
`p >>=` is deprecated; use `DEF p >>=` | ||
error: compound-assignment.asm(36): | ||
Expected constant expression: 'UnDeFiNeD' is not constant at assembly time | ||
error: Assembly aborted (1 error)! |
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,3 +1,35 @@ | ||
error: def.asm(23): | ||
'constant' already defined at def.asm(10) | ||
warning: def.asm(32): [-Wobsolete] | ||
`old_constant EQU` is deprecated; use `DEF old_constant EQU` | ||
warning: def.asm(33): [-Wobsolete] | ||
`old_string EQUS` is deprecated; use `DEF old_string EQUS` | ||
warning: def.asm(35): [-Wobsolete] | ||
`old_variable =` is deprecated; use `DEF old_variable =` | ||
warning: def.asm(36): [-Wobsolete] | ||
`old_variable +=` is deprecated; use `DEF old_variable +=` | ||
warning: def.asm(37): [-Wobsolete] | ||
`old_variable *=` is deprecated; use `DEF old_variable *=` | ||
warning: def.asm(38): [-Wobsolete] | ||
`old_variable -=` is deprecated; use `DEF old_variable -=` | ||
warning: def.asm(39): [-Wobsolete] | ||
`old_variable /=` is deprecated; use `DEF old_variable /=` | ||
warning: def.asm(40): [-Wobsolete] | ||
`old_variable %=` is deprecated; use `DEF old_variable %=` | ||
warning: def.asm(41): [-Wobsolete] | ||
`old_variable &=` is deprecated; use `DEF old_variable &=` | ||
warning: def.asm(42): [-Wobsolete] | ||
`old_variable |=` is deprecated; use `DEF old_variable |=` | ||
warning: def.asm(43): [-Wobsolete] | ||
`old_variable ^=` is deprecated; use `DEF old_variable ^=` | ||
warning: def.asm(44): [-Wobsolete] | ||
`old_variable <<=` is deprecated; use `DEF old_variable <<=` | ||
warning: def.asm(45): [-Wobsolete] | ||
`old_variable >>=` is deprecated; use `DEF old_variable >>=` | ||
warning: def.asm(47): [-Wobsolete] | ||
`old_byte RB` is deprecated; use `DEF old_byte RB` | ||
warning: def.asm(48): [-Wobsolete] | ||
`old_word RW` is deprecated; use `DEF old_word RW` | ||
warning: def.asm(49): [-Wobsolete] | ||
`old_long RL` is deprecated; use `DEF old_long RL` | ||
error: Assembly aborted (1 error)! |
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,8 +1,8 @@ | ||
IF 1 | ||
X = 0 | ||
DEF X = 0 | ||
INCLUDE "endc-eof-newline.inc" | ||
INCLUDE "endc-eof-newline-else.inc" | ||
X = 1 | ||
DEF X = 1 | ||
INCLUDE "endc-eof-newline.inc" | ||
INCLUDE "endc-eof-newline-else.inc" | ||
ENDC | ||
ENDC |
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,4 +1,4 @@ | ||
charmap "A", 1 | ||
SECTION "sec", ROM0[0] | ||
_A_ EQU "A" | ||
DEF _A_ EQU "A" | ||
db _A_ |
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,3 +1,3 @@ | ||
DEFINE equs "MACRO mac\nPRINTLN \"Hello :D\"\nENDM" | ||
def DEFINE equs "MACRO mac\nPRINTLN \"Hello :D\"\nENDM" | ||
DEFINE | ||
mac |
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,4 +1,5 @@ | ||
X1 equs "Y1 equs \"\\\"Success!\\\\n\\\"\"" | ||
Y1 equs "Z1" | ||
; the nested EQUS can't use DEF because Y1 would not be expanded | ||
def X1 equs "Y1 equs \"\\\"Success!\\\\n\\\"\"" | ||
def Y1 equs "Z1" | ||
X1 | ||
PRINT Z1 |
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,3 @@ | ||
warning: equs-nest.asm(4): [-Wobsolete] | ||
`Z1 EQUS` is deprecated; use `DEF Z1 EQUS` | ||
while expanding symbol "X1" |
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,4 +1,4 @@ | ||
|
||
ACT equs "WARN \"First\"\nWARN \"Second\"" | ||
def ACT equs "WARN \"First\"\nWARN \"Second\"" | ||
ACT | ||
WARN "Third" |
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,2 +1,2 @@ | ||
BYE equs "PURGE BYE\nWARN \"Crash?\"\n \n" | ||
def BYE equs "PURGE BYE\nWARN \"Crash?\"\n \n" | ||
BYE |
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,2 +1,2 @@ | ||
recurse EQUS "recurse" | ||
DEF recurse EQUS "recurse" | ||
recurse |
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,6 +1,6 @@ | ||
MACRO test | ||
v equs "X" | ||
X equs "" ; should not be expanded | ||
def v equs "X" | ||
def X equs "" ; should not be expanded | ||
\1 | ||
ENDM | ||
test v 0 |
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,4 +1,4 @@ | ||
CONSTANT equ 42 | ||
def CONSTANT equ 42 | ||
PRINTLN $ff00 + CONSTANT | ||
|
||
SECTION "Overreading much?", ROM0[0] | ||
|
Oops, something went wrong.