Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optional string-filler for DEFS #149

Open
2 of 5 tasks
ped7g opened this issue Aug 15, 2021 · 1 comment
Open
2 of 5 tasks

optional string-filler for DEFS #149

ped7g opened this issue Aug 15, 2021 · 1 comment

Comments

@ped7g
Copy link
Collaborator

ped7g commented Aug 15, 2021

idea from z88dk pull request: z88dk/z88dk#1834 (comment)

entries_array:
    DEFS 10, "name_1st"
> 6e 61 6d 65 5f 31 73 74 00 00
    DEFS 10, "name_2"
> 6e 61 6d 65 5f 32 00 00 00 00
  • check if syntax is possible and not clashing with something else about DEFS or anything
  • implement
  • ???
  • profit
  • check how does this relates to structures, maybe this could have been done instead of the TEXT fields, or maybe it's still different (DS field doesn't have explicit initializer value in {} notation? Even then it may be useful to extend structure.DS too)
@ped7g
Copy link
Collaborator Author

ped7g commented Jan 13, 2022

syntax can follow structure TEXT (last explicit byte is also a filler) without requiring curly-braces.

Struct-DS seems low benefit as there is already TEXT field, so skip that one (and would have to record the whole text as init value and that's size limited, so it further complicates implementation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant