dansanderson / easyasm65

An on-device assembler for the MEGA65.
GNU General Public License v3.0
7 stars 1 forks source link

assemble to disk doesn't seem to work #1

Closed estokes closed 3 months ago

estokes commented 3 months ago

Using v0.1 from the file host,

I type in the "SIMPLE.S" example program from readme.md, it runs just fine with assemble and test, and when I assemble to disk it does produce a file "SIMPLE" of type PRG. However when I switch out of edit mode and run that program I get "syntax error in line 1000".

When I load the "SIMPLE" PRG file that was generated and list it, it is just the source code for the assembly program, not the expected SYS call basic header followed by the assembled code.

When I load the file using the monitor, the result is the same.

oe4dns commented 3 months ago

Same here, though I have only tested with Xemu yet. I will try on real hardware too and report.

estokes commented 3 months ago

I forgot to mention that all my testing has been on real hardware. Very excited about this project!

oe4dns commented 3 months ago

Can confirm, same issue on a real Mega65 R3

oe4dns commented 3 months ago

Did another Test - it works with the current Beta (v 920407) ROM, but nut the current release (v 920395)

estokes commented 3 months ago

Ah, I was wondering about that. I'll just upgrade then. I guess this issue will be useful to anyone else who has the same problem.

dansanderson commented 3 months ago

Mentioned in the forum but I'll echo this here, thanks for the report! EasyAsm uses the extended SETBNK feature introduced in a recent ROM beta that will be in the next stable release v0.97 coming soon. I'm not sure it'll be worth adding a workaround for the v0.96 ROM given the release schedule, so I'll just add this to the README for now.