Search found 111 matches

by LoadError
Fri Jan 05, 2018 3:57 am
Forum: Programming
Topic: BASIC compilers
Replies: 15
Views: 14883

Re: BASIC compilers

@Mike: thanks for pointing me at the old thread. I'd somehow forgotten about its existence :oops: I have no objections to writing some routines in machine code, other than I am totally green on the subject. My plan is to start with reading the old VIC 20 Programmers' Guide and move the first steps, ...
by LoadError
Fri Jan 05, 2018 3:53 am
Forum: Games
Topic: Posting a game: any rules?
Replies: 2
Views: 2215

Re: Posting a game: any rules?

Thanks! As soon as I have the current revision figured out, I will post it in the Games section for the time being; if no bugs surface, in due time I'll post it in the Announcements section. :)
by LoadError
Thu Jan 04, 2018 1:29 pm
Forum: Programming
Topic: BASIC compilers
Replies: 15
Views: 14883

BASIC compilers

Looking for a way to compile a BASIC game to gain speed, I found just a single solution which is to use Austrocompiler on the VIC itself, which will generate pseudocode. I haven't found any other solution. I've found a few cross compilers for 6502, but none seems to work with CBM BASIC. Is Austrocom...
by LoadError
Thu Jan 04, 2018 1:23 pm
Forum: Games
Topic: Posting a game: any rules?
Replies: 2
Views: 2215

Posting a game: any rules?

Last year I tried my hand at a little arcade game just to see if I could do it. Currently I am working at a version 1.1, so to speak. It's amateurish work (written in BASIC and then compiled, but the action is not as fluid as I hoped it would be), still I'd like to make it available here as well as ...
by LoadError
Thu Jan 04, 2018 12:24 pm
Forum: Emulation and Cross Development
Topic: CBM prg Studio
Replies: 240
Views: 171486

Re: CBM prg Studio

I've just discovered about this app and I won't be going back now that I am using It. Thanks! EDIT: unfortunately I've just stumbled upon a problem. Up until yesterday, all was fine. Today I did some minor edits to the BASIC code (in the BAS file). Now every time I try to renumber this file I get an...
by LoadError
Tue Jan 02, 2018 10:00 am
Forum: International VIC
Topic: [ITA] Ma in Italia, con questo famoso VICmodem...???
Replies: 4
Views: 8827

Re: [ITA] Ma in Italia, con questo famoso VICmodem...???

Ricordo che avevo dei bei problemi perché tutto era ottimizzato per 80 colonne e io ne avevo solo 40. Erano chiamate urbane, comunque, e ai tempi si pagava solo lo scatto alla risposta, ma il telefono restava occupato per cui avevo sempre la sensazione di stare tirando troppo la corda... Ho ancora q...
by LoadError
Sat Dec 30, 2017 6:14 am
Forum: International VIC
Topic: [ITA] Ma in Italia, con questo famoso VICmodem...???
Replies: 4
Views: 8827

Re: [ITA] Ma in Italia, con questo famoso VICmodem...???

Io usai un modem Commodore 6499 con il C64, per collegarmi alle BBS (FIDO) e al Videotel. Vale? =)
by LoadError
Thu Mar 31, 2016 1:19 pm
Forum: Programming
Topic: Out of memory on this line
Replies: 20
Views: 3757

Re: Out of memory on this line

If I am not mistaken about your suggestion, I had kinda of figured out the same and that is why I used a token system to move the bad robots. At each loop, just one of the robots moves, then passes the token. So in a sense, I'm already kind of there. What is consuming resources, I think, is that I a...
by LoadError
Thu Mar 31, 2016 12:02 pm
Forum: Programming
Topic: Out of memory on this line
Replies: 20
Views: 3757

Re: Out of memory on this line

Got it, thanks. I've identified the problem! It was indeed an overlooked circumstance in which a subroutine exited with a GOTO rather than a RETURN. It took a bit of reworking but I eliminated the glitch. Also the performance drop due to the moving "AI" is not so bad after all, when the ga...
by LoadError
Thu Mar 31, 2016 9:42 am
Forum: Programming
Topic: Out of memory on this line
Replies: 20
Views: 3757

Re: Out of memory on this line

Yes, I had found that thread and eliminated a case where this problem was happening, but the out of memory problem continues, so I will have to check again. I have used a lot of gosub statements and quite a few for... Next. Other than this, the main problem is that the pseudo AI routine for the enem...
by LoadError
Thu Mar 31, 2016 6:32 am
Forum: Programming
Topic: Out of memory on this line
Replies: 20
Views: 3757

Out of memory on this line

FOR C1=2 TO LEN(S$):POKE(I+C1-2),VAL(MID$(S$,C1,1))+118:NEXT:RETURN This line parses a string (s$) one character at a time, then pokes the numeric value of the character (+118) on the screen starting from a certain location (i). This is used in my game to display numbers (score, lives, level, time r...
by LoadError
Fri Mar 18, 2016 4:07 pm
Forum: Programming
Topic: Redefine the charset with 8K+ RAM
Replies: 35
Views: 5666

Re: Redefine the charset with 8K+ RAM

Yes, I haven't done any measuring but the speed increase with my game after compiling it is dramatic, to the point that it's now too fast! I will have to do something to make it more playable because the guy is all over the place like a rocket. I am thinking a little for...next cycle between the mom...
by LoadError
Fri Mar 18, 2016 11:04 am
Forum: Programming
Topic: Redefine the charset with 8K+ RAM
Replies: 35
Views: 5666

Re: Redefine the charset with 8K+ RAM

Sorry for the typo, yes it answers 1 1 in the second case, and indeed it adds that space with STR$. Took a bit to figure out. I recall something about this from when I was a kid.

Small teaser:
Image
by LoadError
Fri Mar 18, 2016 10:04 am
Forum: Programming
Topic: Redefine the charset with 8K+ RAM
Replies: 35
Views: 5666

Re: Redefine the charset with 8K+ RAM

I'm happy! All is in working order, the graphics are fully in place (I'm just sad I had to simplify the informational screen before any level, which used to display all the characters encountered in that level, because just a few letters fit in the tape buffer). And I used a differential timer to ju...
by LoadError
Fri Mar 18, 2016 2:58 am
Forum: Programming
Topic: Redefine the charset with 8K+ RAM
Replies: 35
Views: 5666

Re: Redefine the charset with 8K+ RAM

Indeed. I called it a hack because the tape buffer was not originally meant to be used to store custom characters, therefore it's a proper hack = making the machine do something it was not originally meant to do, or in a different way =)

Thanks