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 Sat 25 Oct 2014, 16:57
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 Posts_count  
Author Message
ariel


Joined: 03 Jul 2009
Posts: 92

PostPosted: Fri 12 Nov 2010, 09:39    Post_subject:  cbmbasic
Sub_title: 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   1531 Time(s)

cbmbasic-screenshot.jpg

cbmbasic-1.0.pet
Description 
pet

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

Joined: 13 Nov 2008
Posts: 462

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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