Page 3 of 5

Re: Sprite Generator Software

Posted: Thu Dec 20, 2012 8:33 am
by thorsinclair
Hi,

I've attached 2 screenshots, first the starting screen, second the Q-emulator error.

Best,
T

Re: Sprite Generator Software

Posted: Thu Dec 20, 2012 8:34 am
by thorsinclair
Here is the second screenshot

Re: Sprite Generator Software

Posted: Thu Dec 20, 2012 8:59 am
by Mr_Navigator
All I can add to the exception error is that I have experienced the same on my iMAC aswell, I have tried different speeds as well on other Sprite programs with varying degrees of success. It is very frustrating as many interesting programs could be written if sprite control was available for the new QL systems with more colours. The starting point would be to get a Sprite program working well on the emulators.

Re: Sprite Generator Software

Posted: Thu Dec 20, 2012 9:18 am
by Baron3D
68000 has a user-mode and a supervisor-mode. There are som instructions that is only allowed in supervisor-mode. If I remember correctly I used Trap 0 to get into supervisor-mode.
Every trap is executed in supervisor-mode and I call some of then.

Since you get some sprites on screen it may be the sound call that gives the problem.
The code may call the sound trap just to make sure there is no sound. :o

Could it be the Q-emulator is not correctly emulating 68008 supervisor-mode-instructions ?
I know there is differences betwen 68xxx processors. In one processor an instruction is a supervisor-mode-instruction, in others it is not.

Is there a way to let the emulator to skip the message and just continue?

Dispite of your problem, it is very nice to see my spritegenerator in action.

Re: Sprite Generator Software

Posted: Thu Dec 20, 2012 10:00 am
by Mr_Navigator
Is there a way to let the emulator to skip the message and just continue?

Dispite of your problem, it is very nice to see my spritegenerator in action.
Hmmm unfortunately, in response to 'Stop QL session' Yes stops it, No just brings the message up again.

If it is the QL sound call thats calling it I would have thought there is a work around :(

Has any one tried this on QemuLator on a Windows based machine I wonder.

If I get some time I might try this over the xmas period, although I have some intensive training & exams on the 24th, 28th & Jan 2nd and 3rd so under a bit of pressure :(

Re: Sprite Generator Software

Posted: Thu Dec 20, 2012 1:40 pm
by Baron3D
I also used keyboard trap to read one (or two) row (or column) in the keyboard matrix.
So, sound and keybord trap is used.
Sprites is drawn, then there is not more than above traps. (If I remember correctly. It is after all 25 years ago)

Re: Sprite Generator Software

Posted: Fri Dec 21, 2012 7:07 pm
by dilwyn
Baron3D wrote:I also used keyboard trap to read one (or two) row (or column) in the keyboard matrix.
So, sound and keybord trap is used.
Sprites is drawn, then there is not more than above traps. (If I remember correctly. It is after all 25 years ago)
I have tried running some of the demo games on QemuLator v3.1.2 on Windows 7 Home Premium SP1. They run OK as long as you set the emulator to QL speed. Keyboard control is a bit erratic though it generally works, just that sometimes it takes a long time for a keypress to register. I have only tried playing with the games for a few minutes, but no exception errors yet.

This is 25 year old software so it is good it runs on anything other than an original QL I suppose.

I'm about to upload the sprite generator and games to my website as one file, I'll post the URL here when done. If anyone makes change sor improvments to any part of the package please let me know so it can all be updated.

Dilwyn

Re: Sprite Generator Software

Posted: Fri Dec 21, 2012 7:51 pm
by dilwyn
Frank's Sprite Generator

(copy of email sent to ql-users group)

FSG is a sprites package for QL SuperBASIC, written by Frank Linder in Sweden. FSG stands for "Frank's Sprite Generator"! It was written in the 1980s but never released commercially. Frank has now given permission for it to be released as Freeware.

The package includes an icon editor, screens editor and music editor, along with some very playable sample demo games including Heli (a helicopter game), Aste (based on Asteroids), Grott (a cave/mountain adventure game) and Combat (2 player helicopter game). Note that the package only runs on a system with QL mode 8 screen resolution and colour mode, with system variables atthe address of an original QL system. Sprite control is via a comprehensive set of BASIC extensions, creating games which can run interpreted in SuperBASIC and compilable with Q-Liberator.

The zipped package is a 120KB free download from the Games page on my website at http://www.dilwyn.me.uk/games/index.html

Re: Sprite Generator Software

Posted: Sat Dec 22, 2012 10:48 am
by Baron3D
:D Very Good :D

Very good description.

Sprite Generator Software - Update (on the MAC)

Posted: Thu Jan 03, 2013 12:26 pm
by Mr_Navigator
Another Update Guys
==================

Hi people, being in the fortunate position of having purchased both the MAC and Windows versions of QemuLator I can flip between the two. Indeed the Windows version does work with FSG, and as stated before I get the same error when trying FSG on the MAC version.

That is not the whole story though, although a bit convoluted I also run a program on the MAC called Play on MAC, which with certain limitations allows some Windows based programs to run on the Intel based MAC OS 10 systems. Having not used it for awhile I updated it to the latest version running on Mountain Lion, it also installs another set of driver/OS called XQuartz (a replacement for X something, I wont bore you with details). Suffice to say I have successfully installed the Windows version of QemuLator on a MAC and although inferior graphics by comparison to the real MAC version it appears to run OK and is alongside the QPCII (also Windows program)

Screen Shot 2013-01-03 at 12.10.51.png

I then downloaded the ZIP file of FSG from Dilwyn's site and attached the ZIP as is, to QemuLator drive slot, booted the QL run the program, ran the DEMO and as you can see by the screen shot below, it works. The sound also works on the Helicopter game although I haven't completely played that yet. Hopefully this will give some clue to Daniele as to where to look in the MAC version of QemuLator at some revision in the future. For now it seems it is possible to use the software on the MAC albeit through some devious means if you have the Windows version.

Screen Shot 2013-01-03 at 12.01.12.png
I hope this helps

PS tried the FSG program with QPCII running on a MAC - no joy, locks screen before displaying any sprites.