Search found 1203 matches

by tofro
Sat Dec 16, 2017 6:39 pm
Forum: Software & Programming
Topic: WTD : Well commented ASM6800x sources
Replies: 13
Views: 312

Re: WTD : Well commented ASM6800x sources

Right, nearly forgot to mention your excellent work!

Thanks again, Norman.

Tobias
by tofro
Sat Dec 16, 2017 11:50 am
Forum: Software & Programming
Topic: IO.FLINE doubts and emulation
Replies: 14
Views: 316

Re: IO.FLINE doubts and emulation

By the way, what should be the value for register A1 after returning from IO.FLINE? If I return a 9 byte line, A1 return value should be input value A1+9 ? Exactly. Irrespectively of whether you had a buffer address relative to A6 or not, you should increment a1 by the number of bytes put into the ...
by tofro
Sat Dec 16, 2017 11:48 am
Forum: Software & Programming
Topic: IO.FLINE doubts and emulation
Replies: 14
Views: 316

Re: IO.FLINE doubts and emulation

#1 You don't seem to be tracing TRAP #4 - you should, although do don't need to emulate anything here. I'd expect a TRAP #4 to happen before the IO.FLINE traps. Also, in all of your logs, you should dump a6, as this might be part of the address after a TRAP #4 Paranoid: Trap 3. D0=02H A0=00000020H A...
by tofro
Sat Dec 16, 2017 10:16 am
Forum: Software & Programming
Topic: WTD : Well commented ASM6800x sources
Replies: 13
Views: 312

Re: WTD : Well commented ASM6800x sources

I'm actually not even willing to discuss this, as I find it ridiculous, but: I am writing assembler programs for the m68k and the Z80 occasionally and don't see any problems therein that "Load x with y" (LD A,(BC) has a clear right-to-left order and "Move x to y" (MOVE.W (a7)+,d0...
by tofro
Sat Dec 16, 2017 9:39 am
Forum: Software & Programming
Topic: WTD : Well commented ASM6800x sources
Replies: 13
Views: 312

Re: WTD : Well commented ASM6800x sources

Hi all. I am looking for what the above details. Be it string manipulations, graphics algo 2D or 3D, as long as it is very well commented. I am a newbie to the 68000 assembly language, and let's be frank, I will save a lot of time to be familiar with this CPU with some very well commented source co...
by tofro
Fri Dec 15, 2017 11:13 pm
Forum: Software & Programming
Topic: IO.FLINE doubts and emulation
Replies: 14
Views: 316

Re: IO.FLINE doubts and emulation

In S*BASIC, A6 points to the start of the data area of the S*BASIC job, not the QDOS/SMS system variables. If A1 is $100, then (A6,A1.L) points to offset $100 in S*BASICs data area (which is usually the start of the buffer, which explains everything). regards, Jan. That's exactly right - but (and t...
by tofro
Fri Dec 15, 2017 10:18 pm
Forum: Software & Programming
Topic: IO.FLINE doubts and emulation
Replies: 14
Views: 316

Re: IO.FLINE doubts and emulation

As I said, what you seem to assume as a load address (a1+a6) - Must be wrong. That is not a valid address for a load.

Tobias
by tofro
Fri Dec 15, 2017 9:52 pm
Forum: Hardware
Topic: Gold Card / Super Gold Card ROM patching...
Replies: 18
Views: 421

Re: Gold Card / Super Gold Card ROM patching...

Strictly speaking the ROM is copied to the RAM and occupies the same address space it would have done in a standard QL, so the vectors could all still be valid... Well, directly after the copy the vectors still point to the same addresses in copied code as in ROM - But we don't want a 100% copy - a...
by tofro
Fri Dec 15, 2017 8:35 pm
Forum: Software & Programming
Topic: IO.FLINE doubts and emulation
Replies: 14
Views: 316

Re: IO.FLINE doubts and emulation

Hmmm, where to start? ⋅ The QL has, unlike the other Sinclair computers, no fixed address in memory for the BASIC program, it has, in fact, not even a fixed space where the BASIC interpreter runs. The interpreter is one of many jobs that float about the QL's memory. Unlike the other jobs, ...
by tofro
Fri Dec 15, 2017 3:53 pm
Forum: Hardware
Topic: Gold Card / Super Gold Card ROM patching...
Replies: 18
Views: 421

Re: Gold Card / Super Gold Card ROM patching...

I have those downloaded, will have to have a peek at them. I am guessing that the GC/SGC still respect the trap and vector addresses from the ROM's, otherwise things like the I2C on the Minerva wouldn't work. No, they obviously can't - They replace the complete ROM with RAM and use their own interr...

Go to advanced search