various library modules now also use regular asm symbol prefixing rules: buffers, compression, cx16logo, test_stack.

This commit is contained in:
Irmen de Jong 2024-12-21 06:34:55 +01:00
parent 1f49e8fe75
commit 379d241a0d
9 changed files with 8 additions and 10 deletions

View File

@ -1,7 +1,7 @@
; **experimental** buffer data structures, API subject to change!!
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
smallringbuffer {

View File

@ -3,6 +3,6 @@
%import shared_compression
compression {
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
}

View File

@ -1,6 +1,6 @@
; **experimental** buffer data structures, API subject to change!!
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
smallringbuffer {
; -- A ringbuffer (FIFO queue) that occupies 256 bytes in memory.

View File

@ -3,7 +3,7 @@
%import shared_compression
compression {
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
asmsub decode_rle_vram(uword compressed @R0, ubyte vbank @X, uword vaddr @AY) {
; -- Decodes "ByteRun1" (aka PackBits) RLE compressed data directly into Vera VRAM.

View File

@ -3,7 +3,7 @@
%import textio
cx16logo {
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
sub logo_at(ubyte column, ubyte row) {
uword strptr

View File

@ -3,7 +3,7 @@
compression {
%option no_symbol_prefixing, ignore_unused, merge
%option ignore_unused, merge
sub encode_rle_outfunc(uword data, uword size, uword output_function, bool is_last_block) {
; -- Compress the given data block using ByteRun1 aka PackBits RLE encoding.

View File

@ -3,7 +3,7 @@
%import textio
test_stack {
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
asmsub test() {
%asm {{

View File

@ -3,7 +3,7 @@
%import textio
test_stack {
%option no_symbol_prefixing, ignore_unused
%option ignore_unused
sub test() {
}

View File

@ -1,8 +1,6 @@
TODO
====
various library modules: remove %option no_symbol_prefixing?
- DONE: make word arrays split by default and add new @nosplit tag to make an array use the old linear storage format
- DONE: &splitarray will give you the start address of the lsb-array (which is immediately followed by the msb-array)
- DONE: add &< and &> operators to get the address of the lsb-array and msb-array, respectively. (&< is just syntactic sugar for &)