I'm not 100% certain whether the bug is in GWASS60_BIN or in SQLQmulator (Java 8 version running on Java 10).
Following on from my tale of woe at viewtopic.php?f=19&t=2656 I've attempted to assemble some code with my trusty GWASS60_bin (George Gwilt's GWASS for 68020 processors) version 5.07 (the latest version) on SMSQmulator version 2.27. I get an address errors as soon as I execute the assembler. The prompt to start assembling is green while the prompt to quit is white. QMON shows the following:
No matter how many times I run it, it always hits the same register dump with the PC set to $FFFFFE etc as shown in the screen dump. But that's probably not relevant. This has been used numerous times on QPC2 with no problems, hence my suspicion that it's SQLQmulator at fault.
I don't suppose anyone else is hitting this problem? I'm on Linux Mint 19.1 64 bit.
Cheers,
Norm.
SMSQmulator v2.27 bug, perhaps?
- NormanDunbar
- Forum Moderator
- Posts: 2424
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
SMSQmulator v2.27 bug, perhaps?
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
- NormanDunbar
- Forum Moderator
- Posts: 2424
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: SMSQmulator v2.27 bug, perhaps?
More information.
After a fresh reset of SMSQmulator, I ET gwass60_bin and the start address is $19A5FC. I've traced it through and the screenshot below, somewhere, shows that it barfs at an instruction at address $19AEF5 which is indeed an odd address. It got there from this code:
19AEF2 DIVS (A4),D4
19AEF4 BSR.S $19AEF5
Address $19AEF5 is half way through the currently executing instruction at $19AEF4!
This would tend to imply that faults is in GWASS, but it's been working for ages under QPC2, so I'm confused. (My normal state!)
Merry Christmas everyone.
Cheers,
Norm.
After a fresh reset of SMSQmulator, I ET gwass60_bin and the start address is $19A5FC. I've traced it through and the screenshot below, somewhere, shows that it barfs at an instruction at address $19AEF5 which is indeed an odd address. It got there from this code:
19AEF2 DIVS (A4),D4
19AEF4 BSR.S $19AEF5
Address $19AEF5 is half way through the currently executing instruction at $19AEF4!
This would tend to imply that faults is in GWASS, but it's been working for ages under QPC2, so I'm confused. (My normal state!)
Merry Christmas everyone.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: SMSQmulator v2.27 bug, perhaps?
QPC2 => 68020
SMSQMulator => 68000?
I thought SMSQMulator emulates a 68000 CPU - Why does GWASS even run (sortof)?
Tobias
SMSQMulator => 68000?
I thought SMSQMulator emulates a 68000 CPU - Why does GWASS even run (sortof)?
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
- NormanDunbar
- Forum Moderator
- Posts: 2424
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: SMSQmulator v2.27 bug, perhaps?
I checked with PRINT PROCESSOR which returned 20.
That's a 68020 as far as I recall.
That's a 68020 as far as I recall.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: SMSQmulator v2.27 bug, perhaps?
Sorry, Norm, but this has to be a mistake of some sort. PROCESSOR returns 0 here, and nothing in the documentation suggests that SMSQmulator now implements a 68020. GWASS only works on a 20, AFAIK. 20s can operate with odd addresses which presumably is one reason why GWASS barfs under SMSQmulator.NormanDunbar wrote:I checked with PRINT PROCESSOR which returned 20.
That's a 68020 as far as I recall.
BTW: Just for the hell of it, I sometime run QPC2 under W2k in a VirtualBox on Window 10. On my machine it gives about the same experience and performance as running it in Windows directly. I believe VirtualBox (or similar) is also available for Linux. It may be worth a try, if your are desperate enough..

Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
- NormanDunbar
- Forum Moderator
- Posts: 2424
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: SMSQmulator v2.27 bug, perhaps?
Hi Per,
I'll check again, but it definitely returned 20.
I use virtualbox already, for nany things, but I'm loathe to have to install a windows VB just to run QPC2.
Happy Christmas.
Cheers,
Norm.
I'll check again, but it definitely returned 20.
I use virtualbox already, for nany things, but I'm loathe to have to install a windows VB just to run QPC2.
Happy Christmas.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: SMSQmulator v2.27 bug, perhaps?
MACHINE returns 20, PROCESSOR returns 0, at least under W$7.NormanDunbar wrote:Hi Per,
I'll check again, but it definitely returned 20.
I use virtualbox already, for nany things, but I'm loathe to have to install a windows VB just to run QPC2.
Happy Christmas.
Cheers,
Norm.
But SMSQm8 is m68000 only so odd addressing should be avoided.
Gwass60 can and should be told to omit anything for 68020+. Read the manual.
Merry Christmas,
Bob