12 November 2022, 19:49 | #1 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
AsmTwo 0.96w2
There is a strange behaviour with some entries of the "Edit Func." menu (and no addendum in the AsmTwo readme file).
1) According to the ASM-One manual, shortcuts A+i and A+f have the same behaviour. This work as expected in ASM-One (paste what has been copied) but in AsmTwo A+i does nothing (visible at least). 2) A+u should UnMark (what does it means as what it does is not obvious) ? In AsmTwo A+u is like A+L. Is it intended ? 3) Could someone explain what Rotate (A+Y) and VertFill (A+n) are supposed to do ? Thanks in advance. |
13 November 2022, 00:48 | #2 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
Rotate reorders the lines from last to first. Vertical fill is similar to paste, but it moves you back to the same horizontal position and then one line down, so you can spam paste without having to do additional waltzing around with the cursor.
|
13 November 2022, 10:20 | #3 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Thanks a/b .
It works now that I saw that the keyboard for the shortcuts is hardcoded (I bet it's qwerty - usa0) and is not following the keymap defined (mine is ch1). So I have to press A+z and not A+y . For me this is clearly a bug (even if it works like this also in ASM-One). Shortcuts must follow the key mapping and shouldn't care about a physical position on the keyboard. Ok, so it adds a linefeed (& carriage return) when you paste. Thanks. |
13 November 2022, 10:34 | #4 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Another question :
As I see the behaviour, the "marked area" is impacted by other actions. For example : - I mark a bloc (A+b) - copy it (A+c) - move to some part of the code - delete a line (A+d) - and want to paste the copied bloc (A+f) It doesn't paste it but paste the line I have just deleted. It is what I see, but is it a normal behaviour ? Shouldn't the marked area buffer be independent from the "undo" buffer ? |
13 November 2022, 10:50 | #5 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
> Ok, so it adds a linefeed (& carriage return) when you paste. Thanks.
Not quite. I mean, if your copied text contains multiple lines, ends with a newline and such, then yeah, you could describe it like that. But it's primarily meant for a sub-line copy/paste, where you paste a few chars in a line and have to repeat it again in the subsequent line(s). About z/y, I'm not sure why it's happening. Key codes are converted with the console device's RawKeyConvert() (at least in the Rune's original source code, which I believe is the basis for asm-two, and asm-one/pro are doing the same) so it should work. I've only ever used ansi layout so I never noticed any problem. I'll do a few tests with asm-pro, I guess. Delete line is considered cut-block, so it nukes the previous buffer. OK, z/y update: Did you activate a corresponding keymap? The way mapping works internally in asm-*, it always uses default keymap, which is initially (for the whole system) usa/ansi. So if you don't activate a different one, typically in sys:devs/keymaps/ (and there are extras in sys:storage/keymaps/), and then select it in prefs -> input -> keyboard type, it will still use the initial default. Last edited by a/b; 13 November 2022 at 11:18. |
13 November 2022, 12:07 | #6 | ||
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Quote:
Quote:
Ok, it makes sense if it's considered as a bloc (even if it's outside the bloc section of the menu ). |
||
13 November 2022, 18:19 | #7 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Could someone explain "Edit Funct. -> Block.. -> Registers (A+k)"
The manual is not really explicit as it only says "Registers used". |
13 November 2022, 18:50 | #8 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
It shows data/address registers actively used in the selected block.
|
13 November 2022, 19:27 | #9 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Thank a/b. This is what I thought but :
In a one line block like : Code:
moveq #0,d0 In a one line block like : Code:
start lea.l buffer,a0 Same in a block line like : Code:
loop tst.b (a0) Code:
add.b #1,(a0) |
13 November 2022, 20:19 | #10 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
Maybe a newly introduced bug? Dunno... In all these years, the only bug with amiga+k I remember is not clearing the status bar before printing the register list, so you would see old registers at the end if the new list was shorter. But that's for asm-one/pro and trashm-one, those are the only ones I've used.
|
13 November 2022, 20:55 | #11 | |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
^ Ok. Hope Photon will see this thread then. Same for the y (-> z) shortcut
Quote:
Edit : By the way as said A+Y rotate the block (contrary to ASM-One : A+y - why has the case changed ?) but I didn't mention that A+y delete the selected block. I don't think this is a normal behaviour. Or is it ? Last edited by malko; 13 November 2022 at 21:05. |
|
13 November 2022, 22:10 | #12 |
68k
Join Date: Sep 2005
Location: Somewhere
Posts: 828
|
About bugs in command Amiga+K. I found another one in Asm-One v1.49-rc2
Code:
start: ;a0 moveq #0,d0 |
13 November 2022, 22:20 | #13 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
Yeah, asm-one 1.49rc2 . As much as I like it, I had to give it up. Ran into too many crippling bugs and switched to asm-pro, since it's in a better shape and the source is available so I can take care of things myself (and yeah, there's been plenty of that there as well ).
|
14 November 2022, 23:49 | #14 | ||||
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
|
Quote:
Quote:
Quote:
A+u cancels A+b, refer AsmOne/AsmPro manual. Quote:
The actual list of changes to the editor in AsmTwo is quite long and so not every change in behavior is in the readme. It is however done with taste and partly as upgrades to existing functions so that little should interfere with how you normally use AsmOne/AsmPro in your coding work. |
||||
15 November 2022, 14:17 | #15 | |||
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Quote:
Quote:
No, look, A+u is not working as expected and make the block UpperCase instead of UnMarking it (everything made with the mouse for the sake of clarity) : Quote:
By the way, could add to the "to check" list : - A+Y that need a A+Z key press to work (why was the "y" case changed from ASM-One ?) - A+k (registers) As I am currently trying AsmTwo while re-reading the ASM-One manual, I will let you know any differences I find (and that are not listed in the AsmTwo readme file). |
|||
20 November 2022, 00:27 | #16 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Accented letters handling issue
The handling of accented letters has issue when we are upper casing or lower casing.
Basically it works. For example, é -> É, etc. or À -> à, etc. But if we already are uppercase and we uppercase again, letters change (which is not normal, thus t*s is an issue). Same if we are already lowercase and we lowercase again. |
20 November 2022, 19:27 | #17 | ||
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Quote:
As I understand, if I place the cursor at column 12, call VertFill, the copied block is pasted and the cursor is then positioned on the next line at column 12. So basically It works BUT only if the next line as already the required inserted spaces (be it tab). If lines have different spaces on the following lines, the text is even inserted before existing text but Not at colum 12. If I reach end of code, the text is appended without going to next line. Is is how it is intended to be ? |
||
20 November 2022, 21:28 | #18 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
@Mako can you reproduce this bug.?
When assembling a large file a bit less than 28000 lines, assembling work but when I try to save the object file (wo) all the OS freeze. Work find under AsmOne 1.48. This is also broken with Asmone 1.02 and Trash’mOne 2.0 work fine with AsmPro. |
22 November 2022, 17:27 | #19 | |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,884
|
Can someone with real hardware give a light on this.
Quote:
|
|
22 November 2022, 17:43 | #20 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
Correct, and also for A4000. The only "lock" key they have is a caps lock.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AsmTwo | cookertron | Coders. Asm / Hardware | 3 | 05 February 2021 17:53 |
AsmOne and/or AsmTwo | guy lateur | Coders. Asm / Hardware | 87 | 17 April 2018 11:06 |
|
|