aaaaaa123456789 / rtc3test

MBC3 RTC test for Game Boy flash carts and emulators
The Unlicense
31 stars 17 forks source link

No longer builds with new RGBDS #1

Open YoshiRulz opened 2 years ago

YoshiRulz commented 2 years ago

When updating from 0.4.1 to 0.5.2, my automated builds stop working. derivation/before/diff/after

output of manual `make` call ``` cd src && rgbasm -E -Wno-truncation -Wextra -Wshift-amount -p 0xff -h -o ../rtc3test.o ../src/rom.asm error: ../src/rom.asm(12) -> header.asm(17): syntax error, unexpected : error: ../src/rom.asm(12) -> header.asm(23): syntax error, unexpected PRINT error: ../src/rom.asm(12) -> header.asm(60): Assertion failed error: ../src/rom.asm(12) -> header.asm(73): Assertion failed error: ../src/rom.asm(12) -> header.asm(92): Assertion failed error: ../src/rom.asm(12) -> header.asm(223): Invalid address $1e for RST error: ../src/rom.asm(12) -> header.asm(228): Assertion failed error: ../src/rom.asm(15) -> main.asm(4): Invalid address $16 for RST error: ../src/rom.asm(15) -> main.asm(7): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(16): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(21): Invalid address $26 for RST error: ../src/rom.asm(15) -> main.asm(28): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(31): Invalid address $1e for RST error: ../src/rom.asm(15) -> main.asm(100): Invalid address $16 for RST error: ../src/rom.asm(15) -> main.asm(111): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(112): Invalid address $1e for RST error: ../src/rom.asm(15) -> main.asm(130): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(138): Invalid address $26 for RST error: ../src/rom.asm(15) -> main.asm(145): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(170): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(175): Invalid address $26 for RST error: ../src/rom.asm(15) -> main.asm(187): syntax error, unexpected PRINT error: ../src/rom.asm(15) -> main.asm(195): syntax error, unexpected PRINT error: ../src/rom.asm(21) -> text.asm(9): syntax error, unexpected PRINT error: ../src/rom.asm(21) -> text.asm(101): syntax error, unexpected PRINT error: ../src/rom.asm(21) -> text.asm(114): syntax error, unexpected PRINT error: ../src/rom.asm(27) -> basic.asm(103): Invalid address $2e for RST error: ../src/rom.asm(27) -> basic.asm(109): Invalid address $2e for RST error: ../src/rom.asm(27) -> basic.asm(113): Invalid address $2e for RST error: ../src/rom.asm(27) -> basic.asm(118): Invalid address $2e for RST error: ../src/rom.asm(27) -> basic.asm(149): Invalid address $2e for RST error: ../src/rom.asm(27) -> basic.asm(167): Invalid address $2e for RST error: ../src/rom.asm(27) -> basic.asm(182): Invalid address $2e for RST error: ../src/rom.asm(28) -> range.asm(64): Invalid address $2e for RST error: ../src/rom.asm(28) -> range.asm(117): Invalid address $2e for RST error: ../src/rom.asm(28) -> range.asm(142): Invalid address $2e for RST error: ../src/rom.asm(28) -> range.asm(193): Invalid address $2e for RST error: ../src/rom.asm(28) -> range.asm(242): Invalid address $2e for RST error: Assembly aborted (38 errors)! make: *** [Makefile:6: rtc3test.o] Error 1 ```
aaaaaa123456789 commented 2 years ago

Are you sure you're building the latest master?

CasualPokePlayer commented 2 years ago

The errors point to the Print function, which is probably conflicting with the newer PRINT command introduced in rgbds 0.5.0.

aaaaaa123456789 commented 2 years ago

That's correct, but I was fairly certain I had fixed that... I'll check.

CasualPokePlayer commented 2 years ago

The develop branch has it fixed it seems, but not master.

aaaaaa123456789 commented 2 years ago

Gotcha. I'll post a new version later. Thanks!

YoshiRulz commented 2 years ago

Bump—should I just switch to the develop branch? Does the resulting rom function the same?

aaaaaa123456789 commented 2 years ago

The resulting ROM is just as functional. I'll try to remember to update to 0.6.0 this week. Thanks!