Search found 2699 matches

by tofro
Fri Jan 26, 2018 1:53 pm
Forum: Software & Programming
Topic: QL Graphics
Replies: 43
Views: 19057

Re: QL Graphics

Flash must be in pairs - is that always true ? What if an entire line was to be set for flash, and somebody made use of the fact that flash would be reset at the end of the scanline - then you'd only have one flash bit set at the start of a line and no corresponding toggle off. In my opinion that c...
by tofro
Fri Jan 26, 2018 11:24 am
Forum: Software & Programming
Topic: QL Graphics
Replies: 43
Views: 19057

Re: QL Graphics

Per, you seem to be assuming that flash bits don't mean anything in MODE4 - They do, they're just not flashing the screen, but instead are Green bits on even pixel coordinates. High byte (A0=0) Low Byte (A0=1) Mode D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 G7 G6 G5 G4 G3 G2 G1 G0 R7 R6 R5 R4 R...
by tofro
Fri Jan 26, 2018 7:25 am
Forum: Software & Programming
Topic: Sections or includes in GST/Quanta Assembler
Replies: 9
Views: 3616

Re: Sections or includes in GST/Quanta Assembler

Thanks Tobias - that begins to make some sense to me. You mention the linker control file (is that a '.ctx' file I've seen someplace?), so each assembler source file is listed there. Got it. And is it the .ctx file (or whatever) that you then tell the assembler to go assemble? M. Not quite. The lin...
by tofro
Thu Jan 25, 2018 11:13 pm
Forum: Software & Programming
Topic: Sections or includes in GST/Quanta Assembler
Replies: 9
Views: 3616

Re: Sections or includes in GST/Quanta Assembler

In fact, when you are assembling to a relocatable object file for linking, you need to use a section directive. If you simply want to link a number of relocatable (code) files together with no specific positioning, you can simply put your code in multiple _asm files and use the same section name for...
by tofro
Thu Jan 25, 2018 9:59 am
Forum: Software & Programming
Topic: Expanding the range of QL Adventures
Replies: 107
Views: 61190

Re: Expanding the range of QL Adventures

100 DEFine PROCedure doSomething(dng) 110 some calculations 120 IF done THEN EXIT doSomething 130 do some more 140 END DEFine doSomething You should utilize EXIT and place the END DEFine at the very end of the procedure. And thanks for your nice game! No you shouldn't. EXIT (at least on SBASIC) wil...
by tofro
Thu Jan 25, 2018 9:44 am
Forum: Software & Programming
Topic: Expanding the range of QL Adventures
Replies: 107
Views: 61190

Re: Expanding the range of QL Adventures

Georgeo, END DEFine is intended to mark the end of a definition. As definitions only have one beginning and one end, there shouldn't be more than one END DEFine in a FuNction or PROCedure. Premature exit from a PROCedure or FuNction should always be done using RETurn. You can easily check this by tr...
by tofro
Wed Jan 24, 2018 6:49 pm
Forum: Software & Programming
Topic: QL Graphics
Replies: 43
Views: 19057

Re: QL Graphics

I actually think Martyn's way is the only way to successfully guess the mode. Other than the relatively un-used (thankfully) FLASH feature, there is no way to distinguish the screen storage. (And I think I have successfully removed all programs that excessively use FLASH from my systems anyhow becau...
by tofro
Wed Jan 24, 2018 5:17 pm
Forum: Software & Programming
Topic: QL Graphics
Replies: 43
Views: 19057

Re: QL Graphics

Is the size of standard mode 8 screen dump 32768 b - same as for mode 0/4? Yep. The original QL's screen memory is 32kBytes and all (both) modes use it fully. When the Q68 manual states that it has a "Standard QL MODE 8 256x256 pixel (8 colours)" mode, would a screen dump also be 32k? Yes...
by tofro
Wed Jan 24, 2018 2:10 pm
Forum: Software & Programming
Topic: Nested TRAP #3 I/O calls in SMSQ/E...
Replies: 4
Views: 2091

Re: Nested TRAP #3 I/O calls in SMSQ/E...

Go with Martin Head's approach or Go with your second approach and find it doesn't work, then go on as above ;) Entering a device driver by a TRAP through another device driver access layer function from a TRAP simply doesn't seem to work for me at all in QDOS. In my experience, somehow the system m...
by tofro
Wed Jan 24, 2018 12:03 pm
Forum: Hardware
Topic: All RAM chips destroyed??
Replies: 95
Views: 35206

Re: All RAM chips destroyed??

This seems more like a problem with the 8301 ULA and surrounding chips (74LS257 and 74LS245) The 8301 is OK and I have the 74LS257 and 74LS245 replacements. May I adopt the testing tecnique of temporarily put the new chips on the old ones, or must I unsolder the old chips? I have used use that tech...