Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 03:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
cbmbasic
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
ariel


Joined: 03 Jul 2009
Posts: 92

PostPosted: Fri 12 Nov 2010, 09:39    Post subject:  cbmbasic
Subject description: BASIC of the Commodore 64
 

project homepage: http://cbmbasic.sourceforge.net/


There was already VICE emulator packaged for puppy in the forum but this lacked. It is the BASIC of the Commodore 64 that can be used with the command line. With this program you can have a weird mix of shell script and BASIC V2.

the package installs the directory /root/my-documents/cbmbasic-info with two simple BASIC examples. To run them open a terminal there and type the name of the script preceded by ./ as a common bash script.

You can edit the files with a text editor as usual. Don't forget to give exec permissions to all of your new BASIC scripts.


SYS 64738 doesn't work though Very Happy


---------------------------------------------
EDIT

In the meantime I've discovered that you cannot exchange variables between BASIC and bash, at least not as I first thought. Is there a way? Rolling Eyes But you can save and load a file if you launch the program directly.
Another thing to keep in mind is that you must type BASIC commands with uppercase characters otherwise you get ?SYNTAX ERROR

-added menu entry
-changed colours of the running window
-added and modified examples


tested with puppy 4.2.0 and 5.1.0
cbmbasic-screenshot.jpg
 Description   
 Filesize   33.29 KB
 Viewed   953 Time(s)

cbmbasic-screenshot.jpg

cbmbasic-1.0.pet
Description 
pet

 Download 
Filename  cbmbasic-1.0.pet 
Filesize  194.52 KB 
Downloaded  538 Time(s) 
Back to top
View user's profile Send private message 
mini-jaguar

Joined: 13 Nov 2008
Posts: 461

PostPosted: Wed 23 Jan 2013, 10:16    Post subject:  

Very limited, the pokes that change the screen colour don't work, and there are no graphics characters.

The only BASIC shortcut which works is ? instead of print.

It's cool they made this, but it would have been better with a BASIC that has proper graphics commands like "plot" than with C64 BASIC, which lacks many commands and simply uses poke to directly access the machine.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0460s ][ Queries: 12 (0.0139s) ][ GZIP on ]