Search found 4674 matches
- Sat Mar 09, 2013 7:53 pm
- Forum: Programming
- Topic: Alternatives to FOR duration loops?
- Replies: 13
- Views: 1431
This is for unexpanded VIC-20: 0 REMZZZZZZZZZZZZZZZZZZZ 1 FORT=0TO18:READA:POKE4102+T,A:NEXT 2 DATA32,241,215,134,252,165,162,133,251,56,165,162,229,251,197,252,144,247,96 Line 0 contains 19 Z's. Run this once. After this, you can delete lines 1 and 2. Never modify line 0. SYS4102,X with X between 1...
- Fri Mar 08, 2013 4:04 pm
- Forum: Games
- Topic: German Magazine - Type-Ins - Compute Mit
- Replies: 133
- Views: 35092
how do you print the code of the the prg files There's the petcat utility bundled with VICE, which converts *.prg to ASCII *.txt and vice versa. It has some weaknesses though, because graphic characters with the C= key are quoted as hex-codes only. Alternatively (again using VICE) the file is loade...
- Thu Mar 07, 2013 2:56 pm
- Forum: Games
- Topic: [Finished] Yacht Dice Game
- Replies: 23
- Views: 7154
- Thu Mar 07, 2013 1:30 pm
- Forum: Programming
- Topic: Commodore FREE One Liners competition.
- Replies: 55
- Views: 7821
- Thu Mar 07, 2013 12:55 pm
- Forum: Programming
- Topic: Commodore FREE One Liners competition.
- Replies: 55
- Views: 7821
Here's my ultimate-rule-bending entry: 'bird.prg'.
- Thu Mar 07, 2013 11:15 am
- Forum: Programming
- Topic: Commodore FREE One Liners competition.
- Replies: 55
- Views: 7821
- Wed Mar 06, 2013 11:50 am
- Forum: General Topics
- Topic: Auto add emulator links?
- Replies: 4
- Views: 1248
I'm sorry, but I wouldn't want an automated script to change my posts. Furthermore, I suppose you couldn't guarantee that any *.prg file runs without hassles on your emulator. If you add the link manually in an own follow-up post, that's fine and indicates you checked it at least. But if such an aut...
- Tue Mar 05, 2013 2:10 pm
- Forum: Games
- Topic: [Finished] Yacht Dice Game
- Replies: 23
- Views: 7154
Okay then, the +3K RAM expansion just moves the BASIC start from $1001 down to $0401, but leaves screen memory and colour RAM at the same place as in the unexpanded configuration. Most BASIC programs written for the unexpanded VIC-20, even those that use redefined characters, run without any issues ...
- Tue Mar 05, 2013 12:41 pm
- Forum: Programming
- Topic: [Q] are ORs and ANDs short-circuited?
- Replies: 5
- Views: 1135
Indeed, the form: IF <condition_1> THEN IF <condition_2> THEN ... instead of: IF <condition_1> AND <condition_2> THEN ... is quite often found in BASIC programs, and is easily generalised for more conditions. Note however these are only equivalent, when all conditionals are Boolean expressions. If y...
- Tue Mar 05, 2013 11:31 am
- Forum: Games
- Topic: [Finished] Yacht Dice Game
- Replies: 23
- Views: 7154
- Tue Mar 05, 2013 11:30 am
- Forum: Programming
- Topic: [Q] are ORs and ANDs short-circuited?
- Replies: 5
- Views: 1135
Re: [Q] are ORs and ANDs short-circuited?
Are the "and" and "or" operators short-circuited in basic v2? No, they aren't. Expressions are always evaluated in full. Furthermore, AND, OR and NOT operate on signed 16-bit quantities. The result of a relational operator ('=', '<', '>' or any combination thereof) is -1 if the ...
- Mon Mar 04, 2013 4:52 pm
- Forum: Games
- Topic: [Finished] Yacht Dice Game
- Replies: 23
- Views: 7154
So any input on this front is most welcome. If you want to keep it somewhat restrained, you should consider a +16K RAM expansion as 'soft' limit. At the time, this was the biggest single RAM expansion cart sold by Commodore (the VIC-1111). Anything bigger than that would have required either a cart...
- Mon Mar 04, 2013 4:30 pm
- Forum: Programming
- Topic: Commodore FREE One Liners competition.
- Replies: 55
- Views: 7821
The screen editor of the VIC-20 accepts up to four physical lines as a single logical line, i.e. 88 characters. With abbreviations (for example, ? for PRINT, F SHIFT-O for FOR, N SHIFT-E for NEXT, etc., see the VIC User's manual), you can enter some more code into these four lines. When this line is...
- Sat Mar 02, 2013 8:10 am
- Forum: Programming
- Topic: Poxels splash screen + animation
- Replies: 30
- Views: 6030
- Fri Mar 01, 2013 2:14 pm
- Forum: Programming
- Topic: Poxels splash screen + animation
- Replies: 30
- Views: 6030