6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Sep 30, 2024 4:33 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Tiny Basic
PostPosted: Sat Dec 13, 2008 12:56 am 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1005
Location: Canada
Recently, I had the need to design a small and easy to program controller for my dad. He’s 83 and still an avid astronomer. He wanted a simple to program device to automate some of the stuff in the observatory (roof, heating, lights, etc.) that would be fairly resilient to short term power failures and easy to interface to.

Okay, there are about a million ways to skin this cat but as the basis for the project I chose a 6502 variant, the 6507. Why? Size, power consumption, familiarity with the hardware and instructions, have a drawer full of them….

To make along story short, since the 6507 has only an 8k memory space, I needed to supply the thing with a compact language that my dad knows. So I came across Tom Pitman’s Tiny Basic (actually via a link from this site). I took his offered KIM-1 hex listing and after a week of late nights, turned it into an assembler listing. For my application I relocated it to run in ROM at $1400, but with not much effort you could place it anywhere.

I used Kowalski’s emulator to help me discover the true nature of this little beast and get it going. I have a version that loads right up in the emulator and runs just fine. It’s only commented to the extent I needed to get it running. I plan to comment it more, but have other cats to herd right now.

I sent a copy to Tom, but it seems he could not be less interested.

In any case, it works and is useful. If anyone wants a copy, just PM me and I will send it to you. Feel free to add/modify comments and share.

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 13, 2008 2:06 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
Quote:
have a drawer full of them….

Ah, there's the real reason! (65c02 would take a lot less power, have more addressing modes, bugs removed, internal oscillator, etc..)

You could send it to Mike Naberezny (owner of this website) so he can put it up. I think a lot of people would be interested in looking at it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 13, 2008 2:28 am 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1005
Location: Canada
Yup, #1 spec was, "Use the suff I have"

I'd attach it here but the attachment option in php does not seem to be turned on for this site.

Do you have an e-mail co-ordinate for Mile?

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 13, 2008 2:33 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
His Email address (one of many) is webmaster@6502.org.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 13, 2008 2:56 am 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1005
Location: Canada
Done.

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 31, 2008 8:05 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1005
Location: Canada
Just an update for any one interested. Tom Pittman has posted it at end of first paragraph here:

http://www.IttyBittyComputers.com/IttyBitty/TinyBasic/

_________________
Bill


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron