[EA] Features to Add

Or the other way around, I think is what he wants. or make a copy that’s the old code.

TODO: Figure out why FE8 events sometime break when TURN is used a number of times, but then sometimes it doesn’t

(ALIGN 32 issues?)

Seems like Character Based Events in FE8 have to be 8-aligned.

  • Handles Scripts and Texts in Builder (HSaTiB)

It… it lives… it breathes.

2 Likes

Let’s get to squashing those bugs! Should be fixed.

Thoughts on a suggestion cam gave, for final implementation:

#inctool tool-name-or-mnemonic <param> <param> (etc)

Searches ./Tools for the name or mnemonic in definitions somewhere? Then passes all subsequent parameters on commandline. Writes to the ROM whatever is written to stdout by the tool.

Possibly automatically adds the --to-stdout flag to the program?

Directory traversal might be a bit tricky, depending on how EA is written now.

Guys should we just reprogram bash in EA?

fixed

Miiiiiiight be fixed but needs testing

personally i far prefer #incext for “include external”

Should be added

Okay, folks, seems like the source version provided is a bit old. So we may have to fix some bugs that were previously already fixed. Namely:

Used free space starts at 0xE80000
Used free space ends at currentOffset

But I have a working version with a few key bugs fixed, as noted before. I may have to apply some optimizations/quality of life performance, but at this rate I can get a holdoff before cheap EA knockoffs written in, idk, python or haskell, emerge.

Next up on the list to add:

I might decompile the current core.exe and re-edit starting from there. Otherwise we stand to lose quite a few months of NL’s updates to EA, esp since he doesn’t really respond to requests to post source?

edit: reimplemented
incbin
closing includes
asr

Should be added.

Working on adding _0xCODE automcatically for each code loaded.

Things are so lit right now.

1 Like

_0x codes are now automatically included for all raws defined. If you like referring to your codes that way for some reason. (glares at @AlfredKamon)

2 Likes

EA now errors if trying to set the current offset to >=0x2000000

2 Likes

PUSH/POP now work


MESSAGE CURRENTOFFSET
PUSH
ORG 0x100
MESSAGE CURRENTOFFSET after pushing
POP
MESSAGE CURRENTOFFSET after popping
POP
MESSAGE CURRENTOFFSET after popping

Finished.
Messages:
0x0
0x100 after pushing
0x0 after popping
0x0 after popping

1 errors encountered:
File test.txt, Line 39, Column 1: Tried to pop while offset stack was empty.

No data written to output.

1 Like

Getting ready for release

1 Like

Oh, so that means… erm, my contribute isn’t needed anymore for the testing?
Well, I admit I did take it easy and forgot about it for a long while, haha… ^^"
Apologies, Jesus-Gandalf-chan, and thanks!

Need to add:

  • Maximum depth for file including to prevent an endless loop of including the same files.
    100 should be deep enough.
1 Like