Jump to content
IGNORED

Notepad++ & 7800 BASIC


hloberg

Recommended Posts

I looked through Atariage and haven't found any language files for 7800 BASIC so I created one.

If someone has already created one sorry, I just missed it.

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.

I am working on adding the compiler and emulator to Notepad++ but not all that familiar do if anyone has some suggestions... anyhow, I'll slog through till I figure it out.

7800basicv3.xml

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.

 

Edited by hloberg
  • Like 4
Link to comment
Share on other sites

  • 2 weeks later...

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

startup.zip

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.

 

 

 

Edited by hloberg
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...