SMSQ/E for the QL?

Anything QL Software or Programming Related.
Silvester
Gold Card
Posts: 436
Joined: Thu Dec 12, 2013 10:14 am
Location: UK

Re: SMSQ/E for the QL?

Post by Silvester »

Nasta wrote:
Does anyone have info where SMSQ/E for the GC/SGC loads itself in memory?
GC/SGC v2.49 64K eprom ($C000 mapped to QL $0C000) does this first :

48K ROM (QDOS/Minerva) copied to $00000-0BFFF
eprom $C000-FFFF copied to $50000-53FFF (transient use)
eprom $0000-7FFF copied to $10000-17FFF (drivers, TK2 etc)
eprom $8000-BDFF copied to $1C200-1FFFF (new code patches)
eprom $BE00-BFFF unused (FF's)

Eprom then gets paged out and code at $50000 continues by patching OS.

After loading SMSQ/E v2.90 (file size 200,276 bytes):

$00000-0BFFF SMSQ/E code
$10000-17FFF first 27080 bytes overwritten by SMSQ/E code
$1C200-1FFFF remains unmodified by SMSQ/E

also reduces SV.RAMT on both GC/SGC by 116.5kb for rest of its code.

Just downloaded SMSQ/E v3.18, if OK on GC/SGC will post results. I expect it'll probably just lower ramtop more (unless it also utilizes spare $1C200-1FFFF RAM).

Correction - SMSQ/E v3.19 !


David
Silvester
Gold Card
Posts: 436
Joined: Thu Dec 12, 2013 10:14 am
Location: UK

Re: SMSQ/E for the QL?

Post by Silvester »

SMSQ/E v3.19 'GoldCard.bin' (file size 228,078 bytes):

$00000-0BFFF SMSQ/E code (bytes 0-1151,1920-47943 differ from boot OS)
$10000-17FFF SMSQ/E code (bytes 29-27115 differ from boot OS)
$1C200-1FFFF remains unmodified by SMSQ/E

reduces SV.RAMT on both GC/SGC by 144kb for rest of code.


To correct previous post, the line

"Eprom then gets paged out and code at $50000 continues by patching OS.

only applies to v2.28 Gold card only version (Tebby)

v2.49 (Miracle) serving both Gold & Super Gold go about it slightly differently, using shadow addressing of eprom/OS rom before paging out.

Hope that helps...


David
Silvester
Gold Card
Posts: 436
Joined: Thu Dec 12, 2013 10:14 am
Location: UK

Re: SMSQ/E for the QL?

Post by Silvester »

To confirm previous posting, extract from SMSQ/E source file : smsq/gold/hwinit_asm

ie. dc.l start,end ;memory slice

Code: Select all

; loader tables
mod_table
	dc.l	sms.base-4,$4000	 ; first slice
	dc.l	$4200-4,$c000		 ; second slice
	dc.l	$10020-4,$17d00 	 ; third slice (avoid 'Gold')
	dc.l	0
(sms.base = $900), rest goes top of ram.

Tidbit - Eprom for Gold & Super Gold v2.49 contains support code for Miracle's Masterpiece Graphics card :o


David
User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

Re: SMSQ/E for the QL?

Post by Outsoft »

Silvester wrote:SMSQ/E v3.19 'GoldCard.bin' (file size 228,078 bytes):

$00000-0BFFF SMSQ/E code (bytes 0-1151,1920-47943 differ from boot OS)
$10000-17FFF SMSQ/E code (bytes 29-27115 differ from boot OS)
$1C200-1FFFF remains unmodified by SMSQ/E

reduces SV.RAMT on both GC/SGC by 144kb for rest of code.


To correct previous post, the line

"Eprom then gets paged out and code at $50000 continues by patching OS.

only applies to v2.28 Gold card only version (Tebby)

v2.49 (Miracle) serving both Gold & Super Gold go about it slightly differently, using shadow addressing of eprom/OS rom before paging out.

Hope that helps...
And a SMSQ version that is just compiled to be compatibile with MIRACLE Winny Hard Drive and Lighting ROM?

Thanks


Silvester
Gold Card
Posts: 436
Joined: Thu Dec 12, 2013 10:14 am
Location: UK

Re: SMSQ/E for the QL?

Post by Silvester »

Outsoft wrote:And a SMSQ version that is just compiled to be compatibile with MIRACLE Winny Hard Drive and Lighting ROM?

Thanks
It should work, I'll try latest SMSQ with my MHD (I usually use v2.90 with GC+MHD).

It might be the old problem of not resetting the MHD hardware on a soft reset. It needs to be paged back in with something like

MOVEM.L $00000000,a0-a1

(ie. a rapid 8 successive reads at address 0-7)

Though Lighting should work (pointless with SMSQ).


David
User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

Re: SMSQ/E for the QL?

Post by Outsoft »

Silvester wrote:
Outsoft wrote:And a SMSQ version that is just compiled to be compatibile with MIRACLE Winny Hard Drive and Lighting ROM?

Thanks
It should work, I'll try latest SMSQ with my MHD (I usually use v2.90 with GC+MHD).

It might be the old problem of not resetting the MHD hardware on a soft reset. It needs to be paged back in with something like

MOVEM.L $00000000,a0-a1

(ie. a rapid 8 successive reads at address 0-7)

Though Lighting should work (pointless with SMSQ).
I've SGC + MHD v2.08n but It doesn't work.

So I can digit that String on Superbasic prompt or need to be recompiled?

There is a versione rightly compiled and that can works?

All ROMS connected to SMSQ/E are absolutely "stopped" by the system when It will be loaded on a real QL + SGC card.

Can the author solve the problem?

Thanks.


User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

Re: SMSQ/E for the QL?

Post by Outsoft »

Silvester wrote:
Outsoft wrote:And a SMSQ version that is just compiled to be compatibile with MIRACLE Winny Hard Drive and Lighting ROM?

Thanks
It should work, I'll try latest SMSQ with my MHD (I usually use v2.90 with GC+MHD).

It might be the old problem of not resetting the MHD hardware on a soft reset. It needs to be paged back in with something like

MOVEM.L $00000000,a0-a1

(ie. a rapid 8 successive reads at address 0-7)

Though Lighting should work (pointless with SMSQ).
Can you link me gently your 2.9 SMSQ/E ver just compiled for GOLD CARDS? I can't find a so old version compiled for GC.

Thanks.


Silvester
Gold Card
Posts: 436
Joined: Thu Dec 12, 2013 10:14 am
Location: UK

Re: SMSQ/E for the QL?

Post by Silvester »

Solved, the module to initialise ROM port on Gold card was missing off the end of the list. I have recompiled v3.31 and Miracle Hard disk system now works. I have sent info to Wolfgang, but if you want copy of working GOLD v3.31 in the meantime then PM your email address.


David
User avatar
Dave
SandySuperQDave
Posts: 2765
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: SMSQ/E for the QL?

Post by Dave »

Yay!


User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

Re: SMSQ/E for the QL?

Post by Outsoft »

Silvester wrote:Solved, the module to initialise ROM port on Gold card was missing off the end of the list. I have recompiled v3.31 and Miracle Hard disk system now works. I have sent info to Wolfgang, but if you want copy of working GOLD v3.31 in the meantime then PM your email address.
Thanks!!!

I will do now ;)


Post Reply