Search found 98 matches

by CurtisP
Thu Feb 17, 2011 11:56 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

darkatx wrote:This looks just perfect for my needs!
Thanks for the effort put into this! :D
I just uploaded version 0.21 and updated the link in the OP accordingly. So download it and give it a try.

BTW, what is your favorite assembler?
by CurtisP
Thu Feb 17, 2011 11:11 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

Presumably it is the hires toolkit written by Thomas Magnusson you are using. That one was featured in the OP of the thread ' Hires Graphics ' ( download ) and it includes a line routine and an interface that fits your description, but it is not related to MINIGRAFIK. Yes, that is the one I am usin...
by CurtisP
Wed Feb 16, 2011 10:00 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

Here's another example program. This one using strings The DIM/DATA statement at the end is a bit wonky because its a work-around to get a 256 character string, but all in all I think it closely resembles standard BASIC. REM Hangman Game for TCB02 REM (C) 2011 Curtis F Kaylor IMPORT "LIB" ...
by CurtisP
Wed Feb 16, 2011 9:54 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

Alright, it turns out I'm not using the original MINIGRAFIK, but a later reconstructed version, specifically the one with a 127 x 127 bitmap and line drawing routines. I used it because it's simple and uses memory locations for parameter passing, which makes it easy to wrap functions around. For exa...
by CurtisP
Tue Feb 15, 2011 7:37 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

The later reincarnations would supply you with a bigger resolution, multi-colour support and a built-in line drawing routine for free, besides other things. The later incarnations also require Memory Expansion. And the original MinGrafik has line drawing built in. But TCB02 is modular, so if you wa...
by CurtisP
Mon Feb 14, 2011 11:18 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

Here is an example program. It makes use of the original MINIGRAFIK for the unexpanded Vic. The final assembled binary file came out to 351 bytes (192 bytes for the library code and 159 bytes for the compiled Basic code). REM Graphics Test/Demo for TCB02 REM To Compile for VIC20 and ccA65 compiler, ...
by CurtisP
Mon Feb 14, 2011 11:37 am
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

It actually has more in common with Tiny Basic than with Microsoft Basic. The syntax of the Basic language is designed around the 6502 so that the source code will compile into small and fast machine language. Some examples: The only native data type is Byte (0-256) and it does not directly support ...
by CurtisP
Sun Feb 13, 2011 9:41 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 14802

Tiny Basic Compiler

I've spent the last few weeks on a Tiny Basic Compiler for the 6502. The word tiny refers more to the code created than the compiler or language itself. It's designed to target multiple assemblers and multiple machines through the use of configuration and library files. You can find the current vers...
by CurtisP
Fri Dec 24, 2010 10:37 am
Forum: Emulation and Cross Development
Topic: Commodore/Atari Joystick on PC?
Replies: 5
Views: 4144

Not only that, but the DB9 serial ports aren't even standard.

The actual standard for RS-232 is a DB-25 Male Connector on the Cable and a DB-25 female on the Computer. Of course PC's reversed this, so we end up using gender changers when connecting our classic computers to PC's via null modem cables.
by CurtisP
Thu Dec 23, 2010 11:40 pm
Forum: Emulation and Cross Development
Topic: Vice on the DS?
Replies: 6
Views: 3707

If there is a GCC for the DS it should be possible. I'm considering trying to port Vice to the Nintendo GameCube. One of the Atari 800 emulators has been ported to the GameCube, already.
by CurtisP
Thu Dec 23, 2010 11:36 pm
Forum: Emulation and Cross Development
Topic: VICE and 65C02 ?
Replies: 4
Views: 2828

What machines use the 65C02 that you would wish to emulate?
by CurtisP
Thu Dec 23, 2010 10:36 pm
Forum: General Topics
Topic: MiniGame Compo 2010
Replies: 38
Views: 8642

My entry this year (on the Tandy 100) was also entered in another contest. It did not do well this year. I like the game concept, perhaps I will port it at as a generic CBM 8 bit, like I did with Petris.
by CurtisP
Sun Apr 19, 2009 2:45 pm
Forum: General Topics
Topic: dorkyearbook.com
Replies: 8
Views: 3503

Sadly, I don't have any picture of me and my computers from when I was younger. This is pretty cool though.
by CurtisP
Wed Mar 11, 2009 7:45 pm
Forum: Programming
Topic: ***NEW DEMO***
Replies: 7
Views: 2386

Legacy wrote:This BASIC code is screaming fast, watch out or you won't know what hit you! Demo #2 Legacy
legacy.prg
Nice use of the VIC registers.
by CurtisP
Fri Feb 20, 2009 11:55 am
Forum: General Topics
Topic: formatting disks
Replies: 11
Views: 2141

That is correct. I believe it also refreshes the RAM copy of the BAM from the disk.