Search found 567 matches

by tlr
Wed Jun 05, 2024 12:47 pm
Forum: Hardware and Tech
Topic: Paged EEPROM
Replies: 22
Views: 943

Re: Paged EEPROM

Are you looking for a chip or a ready made cartridge here? And what do you refer to when you write EEPROM? A flash memory? "an expansion cartridge", and I'm not sure what EEPROM technologies exist other than Flash, so I'm looking for a cartridge with one or more flash EEPROM devices, and ...
by tlr
Mon Jun 03, 2024 1:14 pm
Forum: Hardware and Tech
Topic: Paged EEPROM
Replies: 22
Views: 943

Re: Paged EEPROM

I don't suppose there exists an expansion cartridge that is one (or preferably more) largest EEPROMs setup to map into the $A000-$AFFF and $B000-$BFFF spaces, but with banking registers so you can select which block of EEPROM appears in each of the ranges? Are you looking for a chip or a ready made...
by tlr
Sun Jun 02, 2024 10:56 am
Forum: Programming
Topic: Background change at Raster Location
Replies: 53
Views: 4860

Re: Background change at Raster Location (was: ** Stable rasters on the VIC-20)

MrSterlingBS wrote: Thu May 30, 2024 6:40 am Hi,

here is my first demo with stable raster bars.
The Music runs via the IRQ.
The main loop is the raster bar effect.

I borrowed the music from the demo ALPHA RANGE 89.
The source code is included.

Have fun ;-)
Nicely done!

The music takes me back. I wrote that. :)
by tlr
Sun May 05, 2024 12:14 pm
Forum: Programming
Topic: PRINT 32-bit integer numbers
Replies: 5
Views: 706

Re: PRINT 32-bit integer numbers

The one I posted here should be easily extendible to any resonable bit width: http://sleepingelephant.com/ipw-web/bul ... 85#p114085
by tlr
Sun Feb 18, 2024 1:08 pm
Forum: Programming
Topic: "Free ZP" which ones?
Replies: 6
Views: 1980

Re: "Free ZP" which ones?

As written... I am using it in demo so just IRQ Kernel used. 😉 Thanks will look into the other thread. If you are using only IRQ and nothing else then all of zp is free and most of the stack, just be sure to set the stack pointer to a convenient spot. $0314 and $0315 must be set up at the time of I...
by tlr
Mon Sep 18, 2023 8:32 am
Forum: Programming
Topic: Add a machine code routine to a Basic program
Replies: 8
Views: 2418

Re: Add a machine code routine to a Basic program

In its simplest form you can just hook your routine in $0314/$0315 and at the end of your routine just call whatever was in $0314/$0315 before (usually $eabf) to finish up. Without fiddling with the timers this will not be in the vertical blanking but good enough for starting out. You can use the ta...
by tlr
Sun Sep 17, 2023 6:24 am
Forum: Programming
Topic: Add a machine code routine to a Basic program
Replies: 8
Views: 2418

Re: Add a machine code routine to a Basic program

The actual implementation will be different depending on how you partition what BASIC does and what the ML interrupt does. In general the interrupt will pause the BASIC program very briefly (~1 ms) each 20 ms to perform some task you desire. This could be doing the equivalent of X=X-1 & POKE, on...
by tlr
Sun Sep 17, 2023 3:26 am
Forum: Programming
Topic: Add a machine code routine to a Basic program
Replies: 8
Views: 2418

Re: Add a machine code routine to a Basic program

Sure, you can do any mix of BASIC + ML. For smooth movement you'll need to do an interrupt routine to perform that in the background. Typically you'd set up a timer to fire an IRQ once each vertical blanking, and there handle the positioning. If you are doing this from BASIC you should consider maki...
by tlr
Sat Sep 16, 2023 8:31 am
Forum: Programming
Topic: Keyboard Input in Assembly - advice sought
Replies: 14
Views: 3200

Re: Keyboard Input in Assembly - advice sought

I agree with Mike. This looks overly complicated and has all sorts of incorrect assumptions built in to it.

It's seldom a good strategy to code a complete solution and then debug it. Why not start to get a simple two key input working using $FFE4 and then add the cursor + positioning?
by tlr
Mon Feb 13, 2023 2:25 pm
Forum: Hardware and Tech
Topic: 7406 replacement
Replies: 4
Views: 747

Re: 7406 replacement

SN7406 is a 7406 manufactured by Texas Instruments. Should be equivalent. Who manufactured the one that's there now?
by tlr
Sun Feb 05, 2023 3:47 am
Forum: Games
Topic: What would be a good game for...
Replies: 8
Views: 2840

Re: What would be a good game for...

Scramble is my go to.
by tlr
Sat Feb 04, 2023 4:12 pm
Forum: Emulation and Cross Development
Topic: Page boundary crossed, CBM Studio
Replies: 6
Views: 3583

Re: Page boundary crossed, CBM Studio

There is a page crossing, yes. This will make the branches take one additional cycle when taken, but this is normally not an error. Perhaps you have some flag set to the assembler to make this error out?
by tlr
Sat Feb 04, 2023 5:19 am
Forum: Hardware and Tech
Topic: 6560 FPGA Progress.
Replies: 152
Views: 16666

Re: 6560 FPGA Progress.

One technique you should look for is drag soldering/smear soldering. I've never done this myself, but I've seen it done. The general idea is to put solder on by dragging along the pins and relying on capillary action to get the solder to where it is supposed to be. You probably want a decent solder ...
by tlr
Fri Feb 03, 2023 2:47 pm
Forum: Hardware and Tech
Topic: 6560 FPGA Progress.
Replies: 152
Views: 16666

Re: 6560 FPGA Progress.

Well, that's been a hard month. Poor health and a mad rush at work have kept me from the project, but boards and components have been ordered now, so let's see what happens. I've got some 48-pin (I think), 0.5mm pin pitch DIL packages to solder (3 of them), so that'll be interesting - Does anybody ...