Re: How to start programming with assembly?
Posted: Tue May 01, 2018 12:19 pm
no, emulation stops.
QL2K emulator.
QL2K emulator.
RIP Sir Clive Sinclair 1940 - 2021
https://theqlforum.com/
If you are referring to to my posting above: Either you are not using TK2. (There is a bug in the Qdos CALL command which may affect the execution of the routine above, the details of which I no longer recall.) Or the assembler you used produces different results to Qmac (see a previous post on this topic on alignment issues) Finally: There is some problem with QL2K or other software in use!g0blinish wrote:no, emulation stops.
QL2K emulator.
Its so long since I tried QL2K I couldnt say, but you should always be able to LBYTES TK2. Get the latest version from Dilwyn's website. Some emulators let you attach ROM version of TK2 as a ROM. There is probably no particular advantage in doing this on an emulator other than have TK2 available immediately on start.g0blinish wrote:how to use TK2?
to type TK2_EXT?
MC68 CPUs < 68020 dont support odd addresses for word and longword operations, so one must always ensure that such addresses are "word-aligned", ie start on an even address. It is a good idea to stick to this restriction for any code you wish to be compatible with the original QL hardware - and most emulators.and I didn't understand: word-aligned - by size or by address?
Agree on SMSQ/E hails, but one caveat:pjw wrote:g0blinish wrote: QPC2 and SMSQmulator (both free!) run SMSQ/E - the best, most inclusive, and most advanced version of "Qdos". They also sport high colour and lots of different resolutions. TK2 is part of these systems; no need to do anything.
It does exactly as instructed. Perfectg0blinish wrote:well, in case of qmac i see message:<>
Doesnt apply to the example given here though, provided the system console is not asleep. This routine will always print to system channel 0, which happens to coincide with S*BASIC channel#0..tofro wrote:Agree on SMSQ/E hails, but one caveat:pjw wrote:g0blinish wrote: QPC2 and SMSQmulator (both free!) run SMSQ/E - the best, most inclusive, and most advanced version of "Qdos". They also sport high colour and lots of different resolutions. TK2 is part of these systems; no need to do anything.
The Window Manager in SMSQ/E will most probably restore all buried windows after your program has ended - So, you won't see anything. SMSQ/E programs should wait for a keypress at the end to keep the program windows alive.