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

Feature request: fill bank with custom value instead of zeros #198

Open
LoreManga5 opened this issue Feb 14, 2024 · 3 comments
Open

Feature request: fill bank with custom value instead of zeros #198

LoreManga5 opened this issue Feb 14, 2024 · 3 comments

Comments

@LoreManga5
Copy link

For example:

#bankdef mybank
{
#addr 0x0
#size 0x6
#outp 0
#fill 05
}

And it fills the bank with 05 value

#ruledef
{
nop => 0x00
hlt => 0xff
}

nop
hlt

Output:
00ff05050505

@hlorenzi
Copy link
Owner

Yes! That was the original idea.

@LoreManga5
Copy link
Author

Yes! That was the original idea.

So it's never going to work like that?
Because in my system the nop operation is not 00 so the fill function is a bit useless 😅

@hlorenzi
Copy link
Owner

It should work! I mean I had this idea for a while, it's just unimplemented as of yet.

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

2 participants