Search found 31 matches
- Sun Jan 30, 2022 6:00 pm
- Forum: Emulation and Cross Development
- Topic: cc65 config files for mid-range setups?
- Replies: 2
- Views: 2212
Re: cc65 config files for mid-range setups?
Wow, that's all there is to it? That's awesome! :) I once decided to build my own 8-bit-OS-in-a-browser (kind of like the Commander X16 project, except idk what I'm doing w/hardware so it's just an "emulator"). I spent waaaaay too much time trying to understand cc65's config language so I'...
- Sun Jan 30, 2022 5:53 pm
- Forum: Programming
- Topic: Looking for some good disk I/O examples
- Replies: 5
- Views: 1729
Re: Looking for some good disk I/O examples
Wow, thanks a lot everyone! :) There's a lot to go over but I can't wait to dive in! Interesting stuff, and potentially game-changing (cheesy pun not intended... at first :D). In all my games up till now, I've had to use a password system for loading/saving data (think Castlevania, only 2-4 characte...
- Sat Jan 29, 2022 7:39 pm
- Forum: Emulation and Cross Development
- Topic: cc65 now with TGI for the VIC
- Replies: 6
- Views: 2791
Re: cc65 now with TGI for the VIC
Dumb question: what's TGI? Just curious cuz cc65 is kind of my goto (cheesy pun intended
) for most VIC-20 projects.

- Sat Jan 29, 2022 7:34 pm
- Forum: Programming
- Topic: Looking for some good disk I/O examples
- Replies: 5
- Views: 1729
Looking for some good disk I/O examples
Hey guys, So in BASIC, I can use commands like OPEN, PRINT#, INPUT# and CLOSE to read/write files on disk; but how would this work in Assembly? I've done some research and it looks like there are some memory addresses in the Kernal I can work with for this, but the only examples I've been able to fi...
- Sat Jan 29, 2022 7:08 pm
- Forum: Emulation and Cross Development
- Topic: cc65 config files for mid-range setups?
- Replies: 2
- Views: 2212
cc65 config files for mid-range setups?
Hey, hope you guys are having a great weekend so far! :) So I'm building a game, and originally I was thinking target the full 40K (cuz why not?). I'm building it in C using cc65 (and the 35K .cfg file), but it turns out I might be able to get it working less RAM than that (making it available to mo...
- Sat Jan 29, 2022 12:07 am
- Forum: General Topics
- Topic: What size of memory do most VICs have now?
- Replies: 28
- Views: 9127
Re: What size of memory do most VICs have now?
Granted I don't own a real Vic (yet), but I have had this same question many times, and as someone who has built a few games now, I think I'm in a position to answer it. No matter what the current trend may be, I would say "go with what your game needs, but try to keep it small if possible"...
- Fri Jan 15, 2021 9:00 pm
- Forum: Emulation and Cross Development
- Topic: Some questions about TheVIC20
- Replies: 13
- Views: 4260
Re: Some questions about TheVIC20
wait, really? SO (with an 0 instead of a zero) seemed to work for me that night. I figured "SO" must be "scratch out" or something. But still, thanks for letting me know. 

- Thu Jan 14, 2021 8:14 pm
- Forum: Programming
- Topic: VIC-20 Memory Layout (follow-up discussion)
- Replies: 12
- Views: 3888
Re: VIC-20 Memory Layout (follow-up discussion)
Man, thanks for all your hard work on this, everyone! I've been dealing with a WEIRD graphics bug / code generally getting overwritten whenever I compile my code for 8k+. In fact that was a big part of why the game I'm building is currently for the unexpanded VIC; but I'm sure the more I look at all...
- Thu Jan 14, 2021 7:22 pm
- Forum: Programming
- Topic: Interrupts - wedged code
- Replies: 11
- Views: 5118
Re: Interrupts - wedged code
Granted I'm still basically a noob, and I mainly program in C or BASIC, but one thing I do when I need "multi-tasking" is to have a "step" function. So for example, one thing I'm doing in the game I'm building is something like this: uint8_t musicTimer = 0; // A timer causing a d...
- Thu Jan 14, 2021 6:32 pm
- Forum: Emulation and Cross Development
- Topic: Some questions about TheVIC20
- Replies: 13
- Views: 4260
Re: Some questions about TheVIC20
Last night I fired up my TheVIC20 and put those CBM DOS commands to the test. Sure enough, they worked like a charm. In case anyone's interested, here's how to edit: 1. Load your program the usual way (i.e. LOAD "my-code",8) 2. Edit your code how you want (in memory). 3. Scratch (delete) t...
- Sun Jan 10, 2021 8:56 pm
- Forum: Games
- Topic: New game in progress: Breakaway
- Replies: 4
- Views: 1485
Re: New game in progress: Breakaway
Thanks for the feedback, and also for the link to that other game! I'm definitely going to check it out. I did some work on it today, mostly reworking the drawing logic (I was getting a lot of artifacts for when the opponents went off-screen, a problem which I'm close to solving - maybe next weekend...
- Sun Jan 10, 2021 8:45 pm
- Forum: Programming
- Topic: TAV20, software speech synthesizer for the VIC-20 (Spanish)
- Replies: 9
- Views: 2450
Re: TAV20, software speech synthesizer for the VIC-20 (Spanish)
Quieres jugar un juego de ajedrez? :D lol I speak Spanish and that War Games quote is hysterical! Of course, what else would a voice synthesizer for the VIC-20 be programmed to say? :) Seriously tho, this is incredible! I knew numerous synths were built for the C64, but never saw one for the VIC bef...
- Sat Jan 09, 2021 3:02 pm
- Forum: Emulation and Cross Development
- Topic: Some questions about TheVIC20
- Replies: 13
- Views: 4260
Re: Some questions about TheVIC20
CBM DOS at first does not allow two files with the same name on a storage medium, that is why your attempt to save a new file under the same name is faulted. You need to delete the old file first - in CBM DOS parlance, "scratch" it - with a command sent over the CBM DOS command channel: O...
- Sat Jan 09, 2021 2:49 pm
- Forum: Hardware and Tech
- Topic: Question for users with original hardware
- Replies: 11
- Views: 3054
Re: Question for users with original hardware
When I first got a VIC-20 one of the first things I was told was to get a 32k switching expander. Unfortunately, they were a little out of my price range at the time and I ended up (recently) getting a 16k instead. From what I've seen of modern games and software developed for the platform, much of...
- Sat Jan 09, 2021 1:55 pm
- Forum: Emulation and Cross Development
- Topic: Some questions about TheVIC20
- Replies: 13
- Views: 4260
Whoops! My mistake
lol wow this is embarrassing... I had way, way too many tabs open! :D The title of this was going to be "best place to learn about coding in C using cc65" or something like that; then I found there is a section specifically about cross-compiling and asked it there. When I wrote the message...