Jump to content
IGNORED

Notepad ++/TNIASM


Recommended Posts

I have been fortunate enough to catch on when it comes to Z80 programing and finding my way around.

However, IDE's are not my thing.

 

I started out in the late 80's, early 90's with Borlands Turbo C under Dos.

 

I can find myself around Visual studio because youtube is ripe with examples.

 

When I started learning with Tony Cruise's youtube series he set up his environment with Sublime and TNIASM.

Well I switch to Notepad ++ because Sublime costs money as far as I remember, been awhile.

 

So, does anyone out there have a script or tutorial how to merge TNIASM with NP++?

 

At present I use the command line and if I get an error it lets me know where.

 

In Tony's setup all he has to do is press a key and it compiles.  If there is an error it goes to the error.

 

I mean, I have been able to get by with the CLI (amiga reference) but if NP++ is capable I would like to make it easier on myself.

 

Anyone have a clue?

 

 

Link to comment
Share on other sites

  • 3 weeks later...
On 4/30/2022 at 8:17 AM, Captain Cozmos said:

I have been fortunate enough to catch on when it comes to Z80 programing and finding my way around.

However, IDE's are not my thing.

 

I started out in the late 80's, early 90's with Borlands Turbo C under Dos.

 

I can find myself around Visual studio because youtube is ripe with examples.

 

When I started learning with Tony Cruise's youtube series he set up his environment with Sublime and TNIASM.

Well I switch to Notepad ++ because Sublime costs money as far as I remember, been awhile.

 

So, does anyone out there have a script or tutorial how to merge TNIASM with NP++?

 

At present I use the command line and if I get an error it lets me know where.

 

In Tony's setup all he has to do is press a key and it compiles.  If there is an error it goes to the error.

 

I mean, I have been able to get by with the CLI (amiga reference) but if NP++ is capable I would like to make it easier on myself.

 

Anyone have a clue?

 

 

Assuming you are using TNIASM and it is a directory c:\tniasm045.

 

1. Add the NppExec plugin to Notepad++

2. Select Plugins->NppExec->Execute Npp Script.. F6

3. Paste in the following commands:

 

cd $(CURRENT_DIRECTORY) // go to directory of the current file
c:\tniasm045\tniasm.exe "$(FILE_NAME)"

 

4. Press the [Save] button and give it a name e.g. Compile

 

You should now be able to compile your code and see the output in the console window that appears below.

You need to make sure you have your primary ASM file in focus at the time.

 

Jumping from an error to the line I still need to figure out.

 

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