|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
Is there anyway of having many lines of code in one line ?
Posted: Sat Dec 17, 2022 1:47 am
|
Is there anyway of having many lines of code in one line ?
I meant, instead of having: .memorymap defaultslot 0 slotsize $8000 slot 0 $0000 .endme may I have: .memorymap SEPARATOR defaultslot 0 SEPARATOR slotsize $8000 SEPARATOR slot 0 $0000 SEPARATOR .endme |
|
|
Posted: Sat Dec 17, 2022 7:30 am |
Why would you want to make your code less readable? | |
|
Posted: Sat Dec 17, 2022 8:21 am |
Not in WLA DX. See https://github.com/vhelin/wla-dx/issues/156 | |
|
Posted: Sat Dec 17, 2022 9:31 am |
You can write data like this
.db $00 $00 $00... Or .dw $0000 $0000 $0000... (Maybe limited to 256 bytes per line, must be checked) |
|
|
Posted: Sun Dec 18, 2022 3:20 pm |
I don't remember any specific limit on this. |
|
|
Posted: Sun Dec 18, 2022 5:00 pm |
it was with text (.db "lorem ipsum dolor..."), not real .db $xx data
INPUT_NUMBER: The string is too long (max 255 characters allowed). |
|