Captain Cozmos Posted April 29, 2022 Share Posted April 29, 2022 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? Quote Link to comment Share on other sites More sharing options...
Tony Cruise Posted May 17, 2022 Share Posted May 17, 2022 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. Quote Link to comment Share on other sites More sharing options...
Captain Cozmos Posted May 17, 2022 Author Share Posted May 17, 2022 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.