Search found 172 matches
- Sat Dec 28, 2024 4:03 pm
- Forum: Software & Programming
- Topic: A noob's guide to QL machine code
- Replies: 41
- Views: 5127
Re: A noob's guide to QL machine code
I always liked the Talent/Quanta Assembler Workbench. Combined Assembler and machine code monitor. See the three 'talent' downloads in the above link to Dilwyn's website.
I must have tried that one as well, previously, but found it as easy as the UNIX command line. (I can do some things on the ...
- Sat Dec 28, 2024 12:50 pm
- Forum: Software & Programming
- Topic: A noob's guide to QL machine code
- Replies: 41
- Views: 5127
Re: A noob's guide to QL machine code
There's various assemblers available for download https://dilwyn.theqlforum.com/asm/index.html if that helps at all
Well, it might. I already had Computer One assembler, but now that I've managed to get it to work, it won't assemble any code - doesn't matter whether I write it in capitals or ...
- Sat Dec 28, 2024 11:34 am
- Forum: Software & Programming
- Topic: A noob's guide to QL machine code
- Replies: 41
- Views: 5127
Re: A noob's guide to QL machine code
...because without an assembler to at least have an idea of what's going on, indirect addressing is doing my head in when it shouldn't. All I need is the equivalent of:
LD A,value (where "value" can be more than one byte in this case)
LD (HL),A
...which is then the equivalent of a POKE (or POKE_W ...
LD A,value (where "value" can be more than one byte in this case)
LD (HL),A
...which is then the equivalent of a POKE (or POKE_W ...
- Sat Dec 28, 2024 11:05 am
- Forum: Software & Programming
- Topic: A noob's guide to QL machine code
- Replies: 41
- Views: 5127
A noob's guide to QL machine code
Long time, no see, but I'm going to have to make this brief return.
I have decided that my opening salvo for the 2025 CSSCGC - just to give the new host a warm welcome - will be a QL conversion of a Spectrum game from an old type-in listing. The Spectrum BASIC program is barely more than 2K, and ...
I have decided that my opening salvo for the 2025 CSSCGC - just to give the new host a warm welcome - will be a QL conversion of a Spectrum game from an old type-in listing. The Spectrum BASIC program is barely more than 2K, and ...
- Sun Jan 15, 2023 11:45 pm
- Forum: Software & Programming
- Topic: What the QL has done for me...
- Replies: 0
- Views: 6294
What the QL has done for me...
Here's a screenshot I just made, on a computer that thinks it's a QL, but obviously isn't really.
https://www.rickdangerous.co.uk/zx/misc/qltest.png
Despite the odd text size, It's just a Spectrum screenshot, isn't it? Isn't it? Clearly that's just a load of PLOT and DRAW statements that's done ...
https://www.rickdangerous.co.uk/zx/misc/qltest.png
Despite the odd text size, It's just a Spectrum screenshot, isn't it? Isn't it? Clearly that's just a load of PLOT and DRAW statements that's done ...
- Sat Apr 23, 2022 5:36 pm
- Forum: The Off-Topic Section
- Topic: Happy Birthday!
- Replies: 437
- Views: 283909
Re: Happy Birthday!
Happy birthday, Spectrum, and cheers for being there for me even when I didn't realise I needed it.
I would say "allow me to spin a yarn with only the mildest of apologies for those who have heard it all before, or who might read it on any other Sinclair-related forum"... but I re-read it and it ...
I would say "allow me to spin a yarn with only the mildest of apologies for those who have heard it all before, or who might read it on any other Sinclair-related forum"... but I re-read it and it ...
- Sat Apr 23, 2022 2:20 pm
- Forum: Software & Programming
- Topic: The Noob's Machine Code Thread
- Replies: 24
- Views: 8225
Re: The Noob's Machine Code Thread
The problem of porting BASIC programs gets worse, I have been porting some Spectrum programmes which apart from the Spectrum PRINT statement being different on the QL, that is no formatting statements allowed in the QL PRINT command.
The main problem area is that Spectrum BASIC allows varaibles and ...
The main problem area is that Spectrum BASIC allows varaibles and ...
- Thu Apr 21, 2022 8:54 pm
- Forum: Software & Programming
- Topic: The Noob's Machine Code Thread
- Replies: 24
- Views: 8225
Re: The Noob's Machine Code Thread
Good advice on the procedures, there! It seems I''ve done something I curse Spectrum programmers for when I'm using BASin to write with - it gets very angry if, say, the programmer has used any token names to define a variable - IN, OUT, IF and TO being the most obvious offenders. I wasn't thinking ...
- Wed Apr 20, 2022 7:50 pm
- Forum: Software & Programming
- Topic: The Noob's Machine Code Thread
- Replies: 24
- Views: 8225
Re: The Noob's Machine Code Thread
Looking through your guide, it did occur to me that I might have to do an "add 1"/"sub 1" instruction for INC and DEC. It's good to know about the DBRA ending at -1 as well - at least I'd know to decrease the count from Z80 code by 1. Provided I remember, that is...
Anyway, this is what I've been ...
Anyway, this is what I've been ...
- Mon Apr 18, 2022 6:15 pm
- Forum: Software & Programming
- Topic: The Noob's Machine Code Thread
- Replies: 24
- Views: 8225
Re: The Noob's Machine Code Thread
Congraturation, I sucsess! I now have 168 bytes of 68008 machine code that does what I want it to do. It's very crude, that's for certain - though less crude than the ZX81 original. All I have yet to work out is how to make loops, as I have yet to find if there's an equivalent of INC, DEC and DJNZ ...