Search found 550 matches

by nippur72
Thu Sep 14, 2006 8:51 am
Forum: Programming
Topic: Suggestion for a keyboard routine
Replies: 6
Views: 2171

Suggestion for a keyboard routine

I need a suggestion about an ML keyboard routine in my tetris game as I'm completely lost. My main issue is that the GETIN kernel routine seems inadequate because keys are subject to "repeat delay" and "repeat speed", resulting in a slower motion than I want (this happens when e....
by nippur72
Thu Sep 14, 2006 8:06 am
Forum: Games
Topic: NoMess
Replies: 35
Views: 8719

nice game :-)

my only suggestion is that cursor should move faster (at least as fast as real vic cursor)
by nippur72
Thu Sep 14, 2006 7:56 am
Forum: Programming
Topic: Game main loops in Machine Language
Replies: 12
Views: 4344

yup, please post it, thank you, it will be very useful.
by nippur72
Tue Sep 12, 2006 12:24 pm
Forum: Programming
Topic: Game main loops in Machine Language
Replies: 12
Views: 4344

this IRQ thing is interesting, I think I'll have one to manage sound effects for the tetris game that I'm writing (at the moment it's soundless). I will keep the game main loop outside of IRQ because it's quite long and I doubt it can be executed in one IRQ cycle. As regards the sounds, I still have...
by nippur72
Mon Sep 11, 2006 7:28 am
Forum: General Topics
Topic: Basic-ML merge info.
Replies: 1
Views: 1244

I'm not sure if this works or not: try to organize the basic packed structure so to skip the machine language part (look at page 120 or the reference guide). You have to change the "link" to next line. Something like this: 1000: <link to $1900> "239 GOTO3000" <end of line (0)> 10...
by nippur72
Mon Sep 11, 2006 3:46 am
Forum: General Topics
Topic: Vic20 Tetris
Replies: 8
Views: 4194

Thank you for the link :) I'm writing my own implementation of tetris as my first vic20 program of the "modern era". Your assembly code is very compact compared to mine :) Are you planning to do pixel by pixel scrolling of pieces? My tetris is an hybrid between basic and ML, and I am messi...
by nippur72
Mon Sep 11, 2006 3:45 am
Forum: Programming
Topic: Game main loops in Machine Language
Replies: 12
Views: 4344

thank you for the programming tips... I'm trying to get used again to Vic 20 programming. Talking of "main loops" I was thinking of implementing the same loop that is done in PLCs (microcontrollers) with the SFC/ladder language. It's used to keep track easily of several things running in p...
by nippur72
Sun Sep 10, 2006 3:13 am
Forum: Programming
Topic: Game main loops in Machine Language
Replies: 12
Views: 4344

Game main loops in Machine Language

Hi, my second post here :) I have a question: When developing a BASIC game, the main loop usually consists in a GETA$ cycle with sprite update on the screen with NO control of timings. (timings being defined by the slowness of BASIC itself so one does not concerns about them). In machine language in...
by nippur72
Sun Sep 10, 2006 1:40 am
Forum: General Topics
Topic: Vic20 Tetris
Replies: 8
Views: 4194

where is Zapactris... the link is broken :(
by nippur72
Thu Sep 07, 2006 2:24 pm
Forum: Programming
Topic: Syntax error in for ???
Replies: 1
Views: 1060

Syntax error in for ???

Hello, I'm new here, back to the glorious vic20 after more than 20 years! I'm familiarizing again with Basic, retrieving from my memory what has been kept buried for all this time. I remember there were integer variables, but if I type: 10 FOR T%=0 TO 255 I get "?syntax error in 10". I don...