SMSQ/E Source Reading

Anything QL Software or Programming Related.
Derek_Stewart
QL Wafer Drive
Posts: 1324
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

SMSQ/E Source Reading

Postby Derek_Stewart » Wed Apr 24, 2019 9:12 pm

Hi,

I have been reading the SMSQ/E source code files, which I find very good and specific 68000 assembley lanaguage reference matarial.

I have been reading the source in the order it is compiled. Is this the best way read the source code?


Regards,

Derek
User avatar
mk79
Gold Card
Posts: 348
Joined: Sun Feb 02, 2014 10:54 am

Re: SMSQ/E Source Reading

Postby mk79 » Wed Apr 24, 2019 10:31 pm

There are probably 230000 lines of code. I suggest reading what‘s interesting to you and leave the rest out ;)


User avatar
pjw
Gold Card
Posts: 497
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: SMSQ/E Source Reading

Postby pjw » Wed Apr 24, 2019 10:45 pm

Derek_Stewart wrote:Hi,

I have been reading the SMSQ/E source code files, which I find very good and specific 68000 assembley lanaguage reference matarial.

I have been reading the source in the order it is compiled. Is this the best way read the source code?
Read it as you would an encyclopedia rather than a novel ;)


Per
Be wary of large West-Coast corporations bearing gifts!
- Ancient Trojan proverb
User avatar
Dave
SandySuperQDave
Posts: 2366
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: SMSQ/E Source Reading

Postby Dave » Thu Apr 25, 2019 12:43 am

mk79 wrote:There are probably 230000 lines of code. I suggest reading what‘s interesting to you and leave the rest out ;)


Strip out the microdrive code and that leaves 12 lines :P

Which reminds me... Is the equivalent of Speedscreen incorporated into SMSQ/E? I do recall that was one of my better purchases back in the day and did give noticeable gains.


User avatar
NormanDunbar
Super Gold Card
Posts: 694
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: SMSQ/E Source Reading

Postby NormanDunbar » Thu Apr 25, 2019 7:41 am

Derek_Stewart wrote:I have been reading the SMSQ/E source code files, which I find very good and specific 68000 assembly language reference material.


I get the impression that I'm probably the only person in the world who finds Tony's code extremely hard to read! I suppose it must be me that's "at fault" then. :(


Cheers,
Norm.


Why do they put lightning conductors on churches?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's someone in Germany who fits indicators to BMWs.
User avatar
mk79
Gold Card
Posts: 348
Joined: Sun Feb 02, 2014 10:54 am

Re: SMSQ/E Source Reading

Postby mk79 » Thu Apr 25, 2019 8:08 am

Dave wrote:Strip out the microdrive code and that leaves 12 lines :P
Considering that there is no MDV driver in SMSQ/E I find this highly unlikely ;)


User avatar
Pr0f
Gold Card
Posts: 342
Joined: Thu Oct 12, 2017 9:54 am

Re: SMSQ/E Source Reading

Postby Pr0f » Thu Apr 25, 2019 8:39 am

NormanDunbar wrote:
Derek_Stewart wrote:I have been reading the SMSQ/E source code files, which I find very good and specific 68000 assembly language reference material.


I get the impression that I'm probably the only person in the world who finds Tony's code extremely hard to read! I suppose it must be me that's "at fault" then. :(


Cheers,
Norm.


No Norman,

You are not alone - I love loads of comments in my source, and currants in my muesli :-)


Derek_Stewart
QL Wafer Drive
Posts: 1324
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: SMSQ/E Source Reading

Postby Derek_Stewart » Thu Apr 25, 2019 1:46 pm

mk79 wrote:
Dave wrote:Strip out the microdrive code and that leaves 12 lines :P
Considering that there is no MDV driver in SMSQ/E I find this highly unlikely ;)

I am sure I used Super Gold Card with SMSQ/E and the microdrives worked. I think this was about version 2.76.

Does anyone know the last version of SMSQ/E that used the Microdrives?

If the microdrive code is not in SMSQ/E v3.34 could the code be loaded as a module ?

Or would the fast memory access, not using slave blocks, cause problems.


Regards,

Derek
User avatar
mk79
Gold Card
Posts: 348
Joined: Sun Feb 02, 2014 10:54 am

Re: SMSQ/E Source Reading

Postby mk79 » Thu Apr 25, 2019 2:09 pm

Derek_Stewart wrote:I am sure I used Super Gold Card with SMSQ/E and the microdrives worked. I think this was about version 2.76.
Your memory might be playing tricks here, MDV drivers were never part of SMSQ/E. Trust me on this, I happen to know that code.


User avatar
mk79
Gold Card
Posts: 348
Joined: Sun Feb 02, 2014 10:54 am

Re: SMSQ/E Source Reading

Postby mk79 » Thu Apr 25, 2019 2:13 pm

NormanDunbar wrote:I get the impression that I'm probably the only person in the world who finds Tony's code extremely hard to read! I suppose it must be me that's "at fault" then. :(
Why? Assembler is inherently hard to read, especially when written by somebody else. TT had a very clean and mostly consistent style, with many comments. Not that every one of those 230000 lines is clear as water, but all in all I'm not sure what he could have done better.

Marcel



Who is online

Users browsing this forum: Pr0f and 4 guests