Search found 98 matches
- Sun Apr 03, 2011 11:24 am
- Forum: General Topics
- Topic: New Vic20 Portable
- Replies: 8
- Views: 2324
- Thu Mar 24, 2011 3:34 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
- Thu Mar 03, 2011 11:01 pm
- Forum: Hardware and Tech
- Topic: Studio Monitors
- Replies: 10
- Views: 2123
- Thu Mar 03, 2011 10:55 pm
- Forum: General Topics
- Topic: Announcement: UberCassette V0.01!
- Replies: 5
- Views: 1446
- Sat Feb 26, 2011 2:04 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
- Thu Feb 24, 2011 11:16 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
- Tue Feb 22, 2011 10:28 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
O.K., that being cleared up, here's one question: How would you implement an ellipse drawing routine in TCB? A version which only uses MINIGRAFIK commands could be written as follows (all variables and expressions contain integer values): Well dang. All variations of the mid-point algorithm require...
- Mon Feb 21, 2011 9:01 pm
- Forum: Programming
- Topic: WIP: VICdesk office suite
- Replies: 32
- Views: 11076
@CurtisP: I don't think so. The desktop will simply launch external applications AFAIK - but please refer to Mike about this. It's always possible to change :P . So MINIGRAFIK will aready be loaded, when Vicdesk is running. Assumedly, any program that Vicdesk launches could then make use of MINIGRA...
- Mon Feb 21, 2011 8:58 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
- Sun Feb 20, 2011 6:39 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
- Sat Feb 19, 2011 10:19 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
I just finished coding 16 bit comparisons. I still have to test them, but here is the code that I am currently generating: ;IF FOO! = BAR! THEN GOSUB YES LDY wrdFOO+1 LDA wrdFOO CPY wrdBAR+1 BNE clb00001 CMP wrdBAR BNE clb00001 JSR lblYES clb00001 ;IF FOO! <> BAR! THEN GOSUB YES LDY wrdFOO+1 LDA wrd...
- Sat Feb 19, 2011 8:45 pm
- Forum: Programming
- Topic: WIP: VICdesk office suite
- Replies: 32
- Views: 11076
- Sat Feb 19, 2011 12:30 am
- Forum: Programming
- Topic: Shortening BASIC-programs
- Replies: 8
- Views: 2810
One of my tricks is to simulate a REPEAT loop using FOR NEXTJeff-20 wrote:I feel like I'm pretty good at crunching, but this is really interesting. I wonder if it can intelligently handle GOTOs and GOSUBs. I also use a lot of ON statements.
Code: Select all
FORZ=0TO1:GETZ$:Z=LEN(Z):NEXT:REM do more stuff
- Sat Feb 19, 2011 12:27 am
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
16 bit variables weren't quite as hard as I thought they would be. I've got them working in expressions and functions and in the INCR, DECR, SHIFTL, and SHIFTR commands. I just need to add some extra parameter checking to function calls and upgrade conditionals to 16 bits. Hopefully I will have some...
- Fri Feb 18, 2011 7:08 pm
- Forum: Emulation and Cross Development
- Topic: Tiny Basic Compiler
- Replies: 34
- Views: 14802
O.K., that being cleared up, here's one question: How would you implement an ellipse drawing routine in TCB? A version which only uses MINIGRAFIK commands could be written as follows (all variables and expressions contain integer values): I will need to implement 16-bit (word) variables. My main st...