Jump to content

a little helper for programming with 7800BASIC


hloberg

288 views

I have created a nice little language file for BASIC7800 for Notepad++.

If you have never added a language file to Notepad++ use Language>user defined>define your language>import. It's set for .b78 files to pull in the language file.

and for you don't know what a language file is it tailors Notepad++ to the specific programming language or dialect highlighting different kinds of commands in different color and generally making the file easier to create and read.

 

The Language file adds color to the commands to make them more readable and sets up so that the 7800 language files auto-starts when a file with the .b78 extension is pulled in.

 

Here is how it looks.

 

screnn.jpg.fb1acfc9d60a620035fb31fcf41a6557.thumb.jpg.bf6110c35454b2bd23b83f8fe893c2ac.jpg

 

 

Also a little batch file (attached) that simplifies using Notepad++ and compiling and using an emulator.

 

here is the code:
 

C :
cd "\Program Files (x86)\Notepad++"
start /i notepad++

C :
cd "C:\Users\hlo\OneDrive\Projects7800"
cmd

 

---------------

Notes:


cd "\Program Files (x86)\Notepad++"
start /i notepad++

(this part starts notepad++)


cd "C:\Users\hlo\OneDrive\Projects7800"
cmd

(this part sets the location of where your project files are. In my case in my OneDrive. Then it opens a command window to that location. IMPORTANT! Alter this line to the YOUR location of your 7800 project files. )

 

This assumes you have ran INSTALL_WIN.BAT to set the path for 7800basic and set the PATH for whatever emulator you use.

Now you can edit the file in NOTEPAD++ then alt+tab to the command window and type 7800BAS yourfile.b78 to compile.

to run the compiled program in your emulator (my case PROSYSTEM) in the same command window type PROSYSTEM yourfile.b78.a78.

later compiles and runs you just need to do the up arrow in the command window and choose a previous interaction.

That’s it. All little helper for programming with 7800basic.


 

7800basicv3.xml startup.zip

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...