![]() |
![]() |
#1 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
TRASH'M-Pro
hello amiga coders
![]() this is ASM-Pro 1.18 trashed to perfection. show it off to friends and family as proof that you are not a lamer. this is an alpha-quality release with plenty of bugs but it's been stable enough to code itself. i have no idea if it works on anything other than my current configuration (1200/030/882) so please give it a try on your config and report back! i've attached a pair of builds: one with clipboard integration, the other without (since there's no error handling yet). the source code is available on github: https://github.com/bsdf/TRASHM-PRO PRs and bug reports welcome! enjoy!!!!!!!!!!!!!!!!!! Notable Changes: * word boundary functions rewritten * ctrl+backspace and ctrl+delete delete by word rather than killing the line fwd/backwards * amiga+backspace and amiga+delete mapped to kill line fwd/backwards * added ctrl+shift+u shortcut to search for the word under the cursor * alt/ctrl+left and alt/ctrl+right move by words * bevels on controls removed to make everything look better in 1 bitplane mode * integration with workbench clipboard implemented (can be disabled with a build flag) * experimental support for using "disassembler.library" with the "@D" command (disabled by default, can be enabled with a build flag) * dead code deleted (plugins, slider, PPC, M020) * source code cleaned up and commented a bit * fixed bug where app would freeze if using the goto bottom shortcut * fixed bug where app would freeze if using the delete to EOL shortcut on the commandline Short-term TODOs: * add error checking to clipboard support and enable by default (fixed in next branch) * implement jump to prev/next label * fix old bug where scroll position is messed up if pasting a block larger than the screen (fixed in next branch) * figure out how tf amiga+whatever shortcuts work so i can map my new functions to better keys * update READMEs/manuals and properly credit ASM-Pro authors * rearrange prefs windows to actually fit in NTSC mode * fix clipboard trashing hex2ascii command (fixed in next branch) Someday TODOs: * cursor in menubar inputs * UNDO/REDO - ideally multiple, but at the very least dpaint style * backwards select * backwards search * start cleaning up/bugfixing macro handling * fix "Debug" preference which doesn't appear to do what it's supposed to do * debugger improvements (searching/reentering) * replace disassembler with disassembler.library * make it work on 68000 and remember: a program worth using is worth trashing! |
![]() |
![]() |
#2 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
obligatory screenshot:
|
![]() |
![]() |
#3 |
Registered User
Join Date: May 2021
Location: Arden, Denmark
Posts: 10
|
Hi colourspace,
Awesome! I gave it a test run with a few of my projects on my A1200/020/882 8MB machine and no problems experienced. I like the system clipboard integration and where you are going with the dissassembler functionality. Will definitely follow this and hope you will be able to keep updates coming ![]() Cheers, Jolly |
![]() |
![]() |
#4 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
Nice, the idea of using the disassembler lib is a good one that way you can remove the original disassembly code so the source will be shorter cleaner and less buggy except for Apollo instructions. Will check.
Update: Which NDK are you using? Is it standard or did you add personal stuff? What is the noclip version? Last edited by kamelito; 13 May 2021 at 13:11. |
![]() |
![]() |
#5 | |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
Quote:
a build with the system clipboard integration turned off since this particular release candidate doesn't have error handling and just assumes that everything is going to work. the clipboard error handling has been added in the next branch for a while now-- i've just been using this rc2 build to make sure it's stable enough to put out there publicly. in the next build i release, the clipboard integration is on by default but can be shut off with a "-CL" in the prefs file |
|
![]() |
![]() |
#6 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 141
|
|
![]() |
![]() |
#7 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
I had to include exec/funcdef.i and copy over the devices/dos_lib.i to dos/dos_lib.i to be able to assemble it without error. Don't know why I had a more complete dos_lib.i in devices. I also copy over my include the one from Aminet of AsmPro 1.18 source code.
|
![]() |
![]() |
#8 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
i've attached a freshly generated set of LVOs-- add and replace as necessary. just tested against a fresh NDK3.1 and it builds. be sure to replace the existing exec/exec_lib.i and dos/dos_lib.i, add graphics_lib to graphics/ and basically put everything else in libraries/
turns out the includes i was using was a bit of a frakenstein (basically had all the changes mentioned by kamelito) but it seems like the combo of NDK3.1 + the LVOs generated with fd2pragma is the cleanest |
![]() |
![]() |
#9 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 141
|
Thank you very much, finally i compile without errors (LVO nightmares).... ![]() |
![]() |
![]() |
#10 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 347
|
Wow! Awesome work, I wish you the best of luck with this project!
|
![]() |
![]() |
#11 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,095
|
Code:
C54D0: add #$0010,a0 addq.w #8,a1 ... Simple program to crash it: Code:
test: rts addwatch test,h Related: Code:
W05458: dc.w 0 This is all also present in the original asm-pro 1.18 code. |
![]() |
![]() |
#12 |
Zone Friend
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 347
|
Trying to compile my A/NES project but include-directive fails.
"** File Error |
![]() |
![]() |
#13 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
thanks for the report! i'll add it to my list of things to look into
would it be possible to provide some code that recreates the issue? if privacy's an issue, feel free to PM me or reach out at EMAILBEN145 at gmail dot com |
![]() |
![]() |
#14 | |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
Quote:
![]() include "CPU.s" start rts include "ram:CPU.s" fixes the error which is normal behavior. incdir ram: include "CPU.s" is another way of telling the assembler where to find the file. etc. Last edited by kamelito; 01 June 2021 at 21:09. |
|
![]() |
![]() |
#15 | |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
Quote:
that's what i was thinking. from my (very limited) experience with the asmone lineage, it seems like the include resolution path is the current working directory (as selected with the "V" command) OR the path specified with the INCDIR directive + the current working directory |
|
![]() |
![]() |
#16 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
howdy here's a new build. some notable changes:
|
![]() |
![]() |
#17 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
and here's a teaser for a feature in the works:
|
![]() |
![]() |
#18 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,454
|
When’s the new version coming out?
|
![]() |
![]() |
#19 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
probably when i finish the feature hinted at in the screenshot-- it's been a shortcoming in all the asmones. there's even a bunch of commented out code in the original asmpro code where the author tried (and failed) to find a solution for it. i have a working proof of concept but there's a lot of editing routines that need to be rewritten
|
![]() |
![]() |
#20 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,454
|
Any enhancements coming out for the Vampire V4?
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
trash'm-one | frantic | Coders. General | 6 | 10 June 2021 22:36 |
Trash 80 vs Amiga | Pyromania | Retrogaming General Discussion | 19 | 07 May 2020 02:13 |
No Trash Can on P96 ? | Xeon | project.ClassicWB | 16 | 08 September 2009 16:07 |
Star Trash | Graham Humphrey | request.Old Rare Games | 7 | 23 November 2007 01:24 |
Excluding TRASH | alexh | project.EAB | 8 | 08 November 2006 14:26 |
|
|