Search found 69 matches

by thegg
Thu Nov 02, 2023 3:16 pm
Forum: Games
Topic: VIC-20+8k puzzler
Replies: 4
Views: 4028

VIC-20+8k puzzler

Train Track by thegg I know I said I wouldn't be doing any more puzzle games, but I got bogged down in my main project and needed a bit of a break. So here is a computer version of the pen and paper puzzle Train Tracks. The object of the game is to find a train track that connects two points in a re...
by thegg
Thu Nov 02, 2023 7:52 am
Forum: Programming
Topic: Change screen size and position at a mid point?
Replies: 4
Views: 3305

Re: Change screen size and position at a mid point?

Sure, see my first post http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?p=114214&hilit=Reliving#p114214 for an example. You need to use raster timing techniques so assembler is necessary. Mike's recent summary of how to synchronise VIA timers with raster lines to avoid flicker is a...
by thegg
Fri Oct 06, 2023 12:13 pm
Forum: Emulation and Cross Development
Topic: Stack Watching in VICE
Replies: 21
Views: 6351

Re: Stack Watching in VICE

Can't test this as I'm away from my computer at the moment. But as a matter of interest you could try: Trace load m1 m2 with the condition A==value. To see if it would have helped with your debugging. I'm not sure Vice treats the stack as memory, but I suspect it does. This would log all reads of 'v...
by thegg
Fri Sep 29, 2023 10:46 am
Forum: Programming
Topic: Keyboard Input in Assembly - advice sought
Replies: 14
Views: 3026

Re: Keyboard Input in Assembly - advice sought

Martin, Do you have some sort of specification for your project? For example, some text describing the requirements, diagrams, or anything that is guiding your development. It would be helpful for anybody wanting to help you if you can describe the functionality of the code you are struggling with a...
by thegg
Wed Sep 13, 2023 1:46 pm
Forum: Emulation and Cross Development
Topic: How to assemble multiple .asm files to multiple .prg files using CBM PRG Studio
Replies: 2
Views: 3317

Re: How to assemble multiple .asm files to multiple .prg files using CBM PRG Studio

I'm assuming that you are building your individual .prg files by selecting each .asm separately and using 'Build Program to file' option in the Build menu. When you build that way you are not building the project and the assembler will only have access to data defined within the file being assembled...
by thegg
Tue May 23, 2023 1:30 am
Forum: General Topics
Topic: Jeff's VIC 20 Book
Replies: 268
Views: 35226

Re: Jeff's VIC 20 Book

For what it's worth, 'undocumented' seems clearer to me.
by thegg
Tue Apr 11, 2023 8:28 am
Forum: Programming
Topic: Software sprites?
Replies: 175
Views: 118049

Re: Software sprites?

AndyH is exactly right. Look at the demo I've just posted and on the Repeat Sprites screen you will see the multicolour sprites moving twice as fast as the single colour sprites. That is because I increment the X parameter by 2 at each update of the multicolour sprites and by 1 for the single colour...
by thegg
Tue Apr 11, 2023 7:52 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

Robert: glad you approve. Attached is an update to the project that includes much of beamrider's modifications for the handling of multicolour and taller (3x2) sprites and a small addition of my own. The archive contains a Readme giving a bit more detail. There is an executable for the demo as well ...
by thegg
Mon Mar 20, 2023 3:55 pm
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

The glitch in the graphic display is happening at the point the SSS switches to the other screen in the double buffered display. I don't yet understand why it switches at that point, but I think it has been deliberately chosen: perhaps to allow enough time to rebuild the whole screen before it appea...
by thegg
Fri Mar 17, 2023 8:30 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

According to the VSS-SSS-MMX document (included in my archive and well worth a read), the maximum is 64. The document goes on to suggest a practical limit of 16 discrete sprites. However, there is a 'repeat sprite' facility which allows multiple sprites with the same shape and animation. These copie...
by thegg
Fri Mar 17, 2023 5:11 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

Glad you sorted your problem. I did address text issue in my post above: There is however an issue with my post. I assumed that the character mapping changes are held in the CBM prg Studio project file I supplied as part of the archive. Unfortunately, the custom mapping is held as part of the CBM pr...
by thegg
Thu Mar 16, 2023 10:31 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

But, if i load the sss.cbmprj in the CBM Studio 3.14.0 it do not work. The erros are "Invalid operand, label or variable ... Strange. As I say in the Readme file in the archive, the project was developed using CBM prg Studio Version 4.0.1. I don't think there are any differences in the Assembl...
by thegg
Thu Mar 16, 2023 5:38 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

beamrider:
Thanks for the link, I've copied your code snippet to merge with my code. I'm interested in any further developments, when you have time.
by thegg
Thu Mar 16, 2023 4:36 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Re: Conversion of VIC-SSS-MMX to CBM prg Studio

Sven: Sorry to here you are having problems with my conversion. You say you get errors when loading the basic file. The program to load is sss.prg. The other files (including basic.asm) are the source files used in CBM prg Studio to create the program. Try loading sss.prg. If I have misunderstood yo...
by thegg
Wed Mar 15, 2023 9:30 am
Forum: Emulation and Cross Development
Topic: Conversion of VIC-SSS-MMX to CBM prg Studio
Replies: 23
Views: 6369

Conversion of VIC-SSS-MMX to CBM prg Studio

A while ago Mike suggested that I take a look at Robert Hurst's Software Sprite Stack (VIC-SSS-MMX). I finally found some time to take a closer look and convert the API and the demo configured in GitHub to a set of files that will compile in CBM prg Studio. The demo runs pretty much as it does when ...