This statement is not interpreted as double assignment in BASIC V2, rather the result of the Boolean expression ST=0 (either -1 if true, or 0 if false) is assigned to P.Witzo wrote:How does this work?Code: Select all
P=ST=0
Search found 4673 matches
- Wed Feb 06, 2013 12:36 pm
- Forum: Programming
- Topic: DO .. LOOP in BASIC V2
- Replies: 12
- Views: 2116
- Mon Feb 04, 2013 12:27 pm
- Forum: General Topics
- Topic: What are the largest programs ever made for the Vic?
- Replies: 21
- Views: 3113
Do I understand correctly that originally, the Z-code interpreter required 35k of RAM expansion (3k RAM expansion + 32k RAM in BLK 1,2,3,5) but now will work correctly with on a standard 32k RAM expansion? There are actually two different Z-code interpreters being talked about: TNT's implementation...
- Mon Feb 04, 2013 11:38 am
- Forum: General Topics
- Topic: What are the largest programs ever made for the Vic?
- Replies: 21
- Views: 3113
- Sun Feb 03, 2013 2:15 am
- Forum: General Topics
- Topic: What are the largest programs ever made for the Vic?
- Replies: 21
- Views: 3113
Would XPander 3 also be an option to get over the 32K hump? You can combine a +3K RAM expansion and a +32K RAM expansion with a slot expander. Note though, that the external +3K expansion is blocked from BASIC use (RAM in BLK1 takes precedence) and will not show up as extra 'BYTES FREE', the BASIC ...
- Fri Feb 01, 2013 1:09 pm
- Forum: General Topics
- Topic: What are the largest programs ever made for the Vic?
- Replies: 21
- Views: 3113
[An animation in a smaller frame with <30 frames per second] almost seems doable in spite of the FE3's limits ... at least a simple demo could be pulled off? Let's see ... a 64x64 pixel bitmap needs 512 bytes, the FE3 RAM Disk achieves slightly more than 9 KB/s for load, which leads to ~18 frames p...
- Fri Feb 01, 2013 12:28 pm
- Forum: General Topics
- Topic: What are the largest programs ever made for the Vic?
- Replies: 21
- Views: 3113
You can refresh a whole MINIGRAFIK bitmap sans attributes nearly 30 times per second. See here . It 'just' needs a more flexible RAM expander than FE3, like this one: - 256 'pages' with 8K each, i.e. 2 MB in total, - 4 registers in the I/O area, for BLK1..3 and BLK5, which allow to map any of the 25...
- Fri Feb 01, 2013 12:06 pm
- Forum: General Topics
- Topic: What are the largest programs ever made for the Vic?
- Replies: 21
- Views: 3113
- Thu Jan 31, 2013 12:57 pm
- Forum: Hardware and Tech
- Topic: What is your VIC "video solution"?
- Replies: 25
- Views: 6944
I'm using a VIC-20 with S-Video mod , and a Commodore 1084. They are connected with a LCA cable made from a DIN to 4x RCA break-out adapter and a normal A/V cable. The colour markings on the RCA ends of the DIN adapter happened to match the inputs of the 1084 (yellow: luma, red: chroma, white: audio...
- Wed Jan 30, 2013 2:23 pm
- Forum: Emulation and Cross Development
- Topic: Minigrafik GIMP Plugin Development
- Replies: 26
- Views: 10293
Re: Minigrafik GIMP Plugin Development
Hi! It's nice to see some independent development regarding the MG picture file format. :D It sets the Gimp image type to indexed and sets the palette to a Vic-20 palette. http://people.myplace.net.au/~hawk@myplace.net.au/mike/retro_computing/vic-20/denial/Gimp%20plugin/GimpPluginColormap.png The ta...
- Tue Jan 29, 2013 1:00 am
- Forum: Programming
- Topic: New Platform Game Programming Tool
- Replies: 12
- Views: 3273
I was not talking about a full-screen bitmap. Just the characters around the player position must be taken care of.PhilRanger wrote:Thanks. I understand what you mean. I was hoping some overlay using scan might have been possible to avoid forcing the user to go to hi-res altogether but maybe I'm just dreaming!
- Mon Jan 28, 2013 3:28 pm
- Forum: General Topics
- Topic: What is happening here?
- Replies: 33
- Views: 10391
I'm quite aware that opening the case and doing modifications on the mainboard is crossing the line for many people. Especially when it's in working order and there's no 'reserve' VIC-20 at hand. But then, how is applying the S-Video mod or internally wiring a uIEC (both of which have been done by o...
- Mon Jan 28, 2013 2:42 pm
- Forum: Programming
- Topic: New Platform Game Programming Tool
- Replies: 12
- Views: 3273
I want to skip redefining characters for mid positions for everything that is part of the decor, while having scrolling smoother than full character. Your routine just needs to take those characters of the background which are located 'beneath' the intended position of the player, and replace them ...
- Mon Jan 28, 2013 1:41 pm
- Forum: Programming
- Topic: DO .. LOOP in BASIC V2
- Replies: 12
- Views: 2116
Actually, in the example I gave, such a DISPOSE NEXT command was not necessary, as the dangling FOR loop gets removed with a NEXT of the further enclosing FOR loop variable. Sometimes it pays off to know a little more about the inner workings of the BASIC interpreter. ;) Likewise, if there's a FOR l...
- Sun Jan 27, 2013 3:18 pm
- Forum: Programming
- Topic: DO .. LOOP in BASIC V2
- Replies: 12
- Views: 2116
Re: improper programming
... much more harmless than leaving a dangling FOR loop on the stack.wimoos wrote:modifying the loopvariable from within the loop is ...
- Sun Jan 27, 2013 11:38 am
- Forum: Programming
- Topic: DO .. LOOP in BASIC V2
- Replies: 12
- Views: 2116
DO .. LOOP in BASIC V2
I happened to use the following construct quite often lately - the lines: DO <statement> LOOP WHILE <condition> can easily be translated with a FOR loop in BASIC V2 thus: FOR P=-1 TO 0 <statement> P=<condition> NEXT P ... where <condition> is a Boolean expression which evaluates to either -1 (true) ...