![Shocked :shock:](./images/smilies/icon_eek.gif)
https://pasmo.speccy.org (also see here: https://www.spectrumcomputing.co.uk/for ... p?p=105958 )
https://github.com/z00m128/sjasmplus
https://github.com/EdouardBERGE/rasm
About the only major problem I've had with Spin's assembler - other than when it turns completely mad and I have to restart it - is that it won't let me copy and paste text within the assembler. This is annoying, and if I have editing to do, I'll use Notepad++ - but usually, I'll opt for Spin because I can write a bit of code, assemble it, see if it works, and if it does, add a bit more, see if that works, and so on... and that's a lot faster than dealing with Pasmo as a middle-man. Then again, I'm never likely to be writing much more than a few bits and pieces of machine code to enhance BASIC programs with, and the assembler-in-emulator suits that job.Alessandro wrote: ↑Tue Dec 20, 2022 6:31 pm I must say I don't like the emulator plus assembler combination that much. I think it could be good for some quick tests or short pieces of code, but it cannot be a substitute for a proper assembler program paired with a good text editor (Notepad++ in my case) especially if you have to assemble long programs combining several sources together.
This is not right. The valid range of relative jump targets is between -126 and +129 bytes relative to the byte following the jr NN pair. Most assemblers support an instruction pointer symbol like $, and during assembly that points to the byte following the jr NN pair.
Code: Select all
3. Relative jumps must be given a sign to indicate the direction of the jump.
The following are acceptable:
jr -3
jr z,+9
Yeah I can understand that. That's why I've not put an assembler editor in Inkspector. FWIW the way I use Inkspector's assembler (which, for me, has taken over from SjAsmPlus you'll not be surprised to hearAlessandro wrote: ↑Tue Dec 20, 2022 6:31 pm I must say I don't like the emulator plus assembler combination that much. I think it could be good for some quick tests or short pieces of code, but it cannot be a substitute for a proper assembler program paired with a good text editor (Notepad++ in my case) especially if you have to assemble long programs combining several sources together.
This is usually the part where I recommend Zeus and everyone ignores me.Alessandro wrote: ↑Tue Dec 20, 2022 6:31 pm I must say I don't like the emulator plus assembler combination that much.
Or a decent IDE and assembler used in conjunction with a makefile that will build and optionally launch the built file in your emulator.
I am waiting for it!
it doesnt crash but it doesnt work either. just starts to flood the screen then leave weird patterns on it
could you send me a sna of it?WhatHoSnorkers wrote: ↑Mon Dec 26, 2022 6:41 pm This has been fun, and I can't get it working fully yet... but at least it doesn't crash any more. A lot of the problems were of my own making, and interoperation with the BASIC Assembly.