“I don’t like cats.”
“You just don’t know how to cook them.”
“I don’t like cats.”
everything works fine with your code save for the ORG bit. nothing i do is working. a little help? i try 6000, 2000, hell i even did 100R-Tape wrote: ↑Sat Mar 31, 2018 12:51 pm
You can't use assembler terms that you use to manipulate code (e.g. a,b,c,and,or,rlca etc) as labels. With ZX-Spin for example these things are colour coded, cyan for opcode, and magenta for labels. So if your label is not magenta, you can't use it.
It needs to be something like this, and now you've used "namea" you cannot use it to label another routine.
Code: Select all
DI ; 4 clocks F3 LD HL, $8002 ; 10 21 02 80 namea: DEC HL ; 6 2B nameb: DEC HL ; 6 2B namec: INC (HL) ; 11 34 JR NZ,namec ; 7/12 20 FD (they appear on this line) INC HL ; 6 23 INC (HL) ; 11 34 JR NZ, nameb ; 7/12 20 F8 INC HL ; 6 23 INC (HL) ; 11 34 JR NZ, namea ; 7/12 20 F3 EI ; 4 FB RET
If you're doing ORG 6000 (decimal) rather than ORG $6000 (hexadecimal) then you're asking it to assemble to ROM not RAM.
It's not broken!
and after? i use real tape mode and save but all it says is press play on tape, shows a flashing border, than nothing.Ast A. Moore wrote: ↑Wed Mar 28, 2018 10:26 amWow, dude . . . That’s, like, not cool, man.
Glad I spent some time creating a syntax highlighter and a few scripts and templates for the TextMate+zasm combo.
Do you use any of the external command tools in Notepad++ [mention]Alessandro[/mention]? I can never work out how they work, so any tips appreciated.Alessandro wrote: ↑Mon Apr 02, 2018 10:59 am my personal choices are Notepad++ and Pasmo respectively.
Do you mean the plugins? Actually not, I even turned autocompletion off because it interfered too much with composition.
Sorry, I mean automating the task of compiling with Pasmo from within Notepad++, or do you just use the command line?Alessandro wrote: ↑Mon Apr 02, 2018 5:19 pm
Do you mean the plugins? Actually not, I even turned autocompletion off because it interfered too much with composition.
Code: Select all
@echo off
pasmo --tap %1.asm %1.tap
Ahh I've had this before. I think pressing (or unpressing) scroll lock, or something like that on the keyboard sorted it. Failing that, a full power cycle might do the trick.