Search found 590 matches

by tlr
Sun Mar 23, 2025 4:18 am
Forum: Games
Topic: Help me remember a game?
Replies: 5
Views: 591

Re: Help me remember a game?

Nice Game! Is there a non cartridge version from this game? I good like to create a tape from the game, but i can not find it. It would need at least 8 KiB expansion. If you have RAM at $a000-$bfff you might have luck with the version on zimmers (SYS 41001). https://www.zimmers.net/anonftp/pub/cbm/...
by tlr
Sun Mar 02, 2025 12:12 pm
Forum: Games
Topic: Skramble! by R.W. Stevens on R36S Handheld
Replies: 6
Views: 1447

Re: Skramble! by R.W. Stevens on R36S Handheld

For completeness, this is the one I used: skramble_rabbit_software.tap
by tlr
Sun Mar 02, 2025 6:46 am
Forum: Games
Topic: Skramble! by R.W. Stevens on R36S Handheld
Replies: 6
Views: 1447

Re: Skramble! by R.W. Stevens on R36S Handheld

I'm glad my version worked out for you!
by tlr
Sun Mar 02, 2025 4:35 am
Forum: Games
Topic: Skramble! by R.W. Stevens on R36S Handheld
Replies: 6
Views: 1447

Re: Skramble! by R.W. Stevens on R36S Handheld

I did a single file version of this a while back (15 years ago apparently :) ), here: skramble.prg.
Never got around to uploading it anywhere and haven't tested it that much to be honest, but feel free to test it out.
by tlr
Sat Nov 16, 2024 12:42 pm
Forum: Programming
Topic: My Favorite Instruction of 2023
Replies: 19
Views: 12734

Re: My Favorite Instruction of 2023 / 2024

Usage of the stack pointer as a general register [...] The stack pointer is not a general purpose register. It is a special purpose register intended for indexing into the 65xx hardware stack. Ok then, "general" register. It can index data on the stack, and it can serve as temporary stora...
by tlr
Sat Nov 16, 2024 5:20 am
Forum: Programming
Topic: My Favorite Instruction of 2023
Replies: 19
Views: 12734

Re: My Favorite Instruction of 2023 / 2024

The commands I haven't used so far were TSX and TXS. At Aitsch's suggestion, I looked into the topic of stacks in more detail. Then the following occurred to me. Normally the X regsiter is pushed onto the stack via TXA and PHA. This takes a lot of time, 5 cycles. A better solution would be to store...
by tlr
Fri Sep 20, 2024 4:11 am
Forum: Programming
Topic: Programming the 1540 / 2031 Floppy
Replies: 23
Views: 10323

Re: Programming the 1540 / 2031 Floppy

For an example of a working VIC-20 transfer routine you could examine JiffyDOS for the VIC-20. There are quite a few drive -> VIC-20 implementations (e.g turbo load) but not very many VIC-20 -> drive. JiffyDOS has both. All in all doing a transfer routine is quite an interesting, and sometimes frust...
by tlr
Sat Aug 31, 2024 6:21 am
Forum: Hardware and Tech
Topic: FE3 respin - SD or micro SD card?
Replies: 8
Views: 3838

Re: FE3 respin - SD or micro SD card?

MicroSD makes sense IMO. Allows you to make a more compact design as well. Can you still source the CPLD?
by tlr
Fri Jul 12, 2024 5:31 am
Forum: Programming
Topic: Programming the 1540 / 2031 Floppy
Replies: 23
Views: 10323

Re: Programming the 1540 / 2031 Floppy

What a bummer, I thought it would be so easy. Optimizing vector calculations is not trivial. Asymmetric multiprocessing on an 8-bit system is not trivial either, especially since you have a bandwidth limited link. Make sure you are optimizing the right thing! I’d start with the multiplication, then...
by tlr
Fri Jul 12, 2024 3:08 am
Forum: Programming
Topic: Programming the 1540 / 2031 Floppy
Replies: 23
Views: 10323

Re: Programming the 1540 / 2031 Floppy

I wrote a small program that can measure the speed. I hope it is calculated correctly. Interrupts are periodically disabled during IEC access. Jiffies won’t be accurate. You’ll have to manually use a timer. I don’t think you will get any gain doing single multiplications, but matrix rotation could ...
by tlr
Thu Jul 11, 2024 1:41 pm
Forum: Programming
Topic: Programming the 1540 / 2031 Floppy
Replies: 23
Views: 10323

Re: Programming the 1540 / 2031 Floppy

Why do you need to copy? The (vector) graphics is supposed to be pre-rendered into a shadow bitmap and then blitted over to the display bitmap to reduce flicker. There is not enough RAM accessible for the VIC to hold two bitmaps of the given size, hence the need for a memory copy instead of "j...
by tlr
Thu Jul 11, 2024 10:20 am
Forum: Programming
Topic: Programming the 1540 / 2031 Floppy
Replies: 23
Views: 10323

Re: Programming the 1540 / 2031 Floppy

Hi, thanks for the tips. Do you have a fast IEC transfer routine to share? Not a ready made one for the vic20, no. Bacause of the clear and copy time, i use a 144x224 pixel screen. There i like to clear the screen size 144x160. This needs a little bit more than 14.400 cycles, in addition, there is ...
by tlr
Thu Jul 11, 2024 2:21 am
Forum: Programming
Topic: Programming the 1540 / 2031 Floppy
Replies: 23
Views: 10323

Re: Programming the 1540 / 2031 Floppy

I had forgotten the great website Codebase64. There is enough source code there to try out. I hope to be able to do multiplication and division for 3D calculations this way. This should happen in parallel while the screen is being deleted and the data is being loaded from the buffer into the screen...
by tlr
Thu Jul 04, 2024 2:32 pm
Forum: Hardware and Tech
Topic: More VIA decode questions
Replies: 6
Views: 4860

Re: More VIA decode questions

Maybe the VIC is mirrored at $910x? I don’t remember. In the real world, the VIC is definitely not mirrored at $910x—otherwise, it would be mirrored all the way from $9100 to $91FF, as it is pretty lazy about decoding the addresses itself. It is possible that Victor's decoding is enabling it on too...
by tlr
Thu Jul 04, 2024 2:01 am
Forum: Hardware and Tech
Topic: More VIA decode questions
Replies: 6
Views: 4860

Re: More VIA decode questions

Doesn’t explain it, but may give a clue: The VIA decoding is very trivially done so CA4 and CA5 are more or less directly selecting VIA1 and VIA2. This means that both can be selected in parallel. As these chip selects are active high this happens at $913x. At $910x none would be selected. EDIT: may...