03 March 2022, 20:14 | #41 |
Registered User
Join Date: Jan 2011
Location: -
Posts: 728
|
That sounds like what my issue is related to because I'm using the old, free P96.
Thanks for the info, Phantasm. |
27 September 2023, 05:04 | #42 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
Thanks for this.
A project I always wanted to do but never had enough time was to parse .rs files and extract the work already done in some way where it could be imported into Ghidra. Disassembling Resource was the hurdle, so now I have no excuse. Any chance you can commit the .rs file for this to the Github repo? This is something I appreciate about the Bloodwych repo there. |
27 September 2023, 05:10 | #43 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
Did anyone download the library resource files from ultimateamiga forum (which no longer allows logins)? @NorthWay? I see I was in that thread assembling resource way back when and even did some of the work towards reversing the .rs files. No recollection whatsoever! I've used the forum feature to "email" NorthWay.. does it work? No idea :smile
Edit: Found a side link that allows login using my old login. The lib downloads on posts are not present as wepl points out. Last edited by copse; 27 September 2023 at 05:32. |
27 September 2023, 07:20 | #44 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,607
|
|
27 September 2023, 09:30 | #45 | |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
Quote:
Also contained are unfinished attempts for ReSourcesyms.library and ReSourceutil.library. |
|
27 September 2023, 12:23 | #46 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
|
27 September 2023, 15:48 | #47 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
|
27 September 2023, 20:12 | #48 | |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
Quote:
|
|
28 September 2023, 07:46 | #49 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
I added a Resource_RS_Files.zip to the zone. It contains resourced libraries, showmacros and the exe from 2015. Are they mine? I don't know why they would be. Are they bruceuncle's? Maybe. I do not know.
|
28 September 2023, 08:11 | #50 | |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
Quote:
|
|
28 September 2023, 21:11 | #51 | |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
Quote:
For syms and util I'm going to compare how advanced they are. If better I would like to add them to github repo. Same for help and ShowMacros. Would that be ok? The commit message is misleading. They are all based on 6.06. |
|
28 September 2023, 22:44 | #52 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
These are now confirmed to be Bruce's files. I doubt he would care. As far as I am concerned, it's fine with me.
Last edited by copse; 29 September 2023 at 00:29. |
28 September 2023, 22:48 | #53 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
|
29 September 2023, 00:53 | #54 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
NorthWay kindly sent me his files. He had the same zip as me from bruceuncle, and a 7zip file (just uploaded to the zone as "Resource_RS_Files - NorthWay.7zip") which has larger RS files.. but says he doesn't know where either originate from so these weren't his and are possibly later versions from Bruce.
|
29 September 2023, 06:26 | #55 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
Using 662 I am not able to get partial save of binary or asm to work.
1. Open one of the resource.rs files. 2. Go to $3D3A. 3. Menu: SV / Partial Save / Set Start 4. Go to $AF8A 5. Menu: SV / Partial Save / Set End 6. Menu: SV / Save Binary / Partial. 7. Screen flashes. At this point the requester should instead pop up. Running 606 it works correctly. |
29 September 2023, 07:48 | #56 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
|
Thanks for the great news of someone still updating Resource 6.
|
29 September 2023, 21:21 | #57 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
FYI got a guru meditation after making maybe 10 minutes of changes with 662 and trying to save .RS. No identifiable thing I did, reverted to 606.
Does 662 have debug symbols? Is there a way to get a callstack from winuae debugger in these situations? |
29 September 2023, 22:43 | #58 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
Was a little lost trying to compile symbols going from the document in 606. Couldn't get resource to load them, just got the painfully unclear screen flash. Eventually, I went back to 5 and disassembled an assembled Janus symbols file there, and realised I was getting an object file not an executable from vasm.
This works: vasmm68k_mot.exe mysyms.s -Fhunkexe -o mysymsOf course I spent ages disassembling the symbol loading code Code:
move.l #TemporaryString,D1 ;D1 = Symbol file path jsr (DosLoadSeg-RefAddr,A6) move.l D0,(A5) ;D0 = SegList jsr (MaybeError-RefAddr,A6) lsl.l #2,D0 ;BCPL movea.l D0,A0 move.l A0,-(SP) lea (TemporaryString-RefAddr,A6),A1 ;Symbol file path move.l A1,D0 .find_path_end tst.b (A1)+ bne.b .find_path_end exg D0,A1 sub.l A1,D0 ;D0 = Path length moveq #12,D1 ;Buffer padding add.l D1,D0 move.l D0,D2 jsr (AllocFunc1AsIs-RefAddr,A6) movea.l (SP),A0 ;A0 = Seglist ptr beq.b .copy_init_done .find_lastseg move.l (A0),D1 ;NextSeg beq.b .copy_init lsl.l #2,D1 movea.l D1,A0 bra.b .find_lastseg .copy_init movea.l D0,A1 ;A1 = Allocated memory. addq.l #4,D0 lsr.l #2,D0 ;BCPLification move.l D0,(A0) ;Extend the seglist. addq.l #7,D2 ;Align buffer size to 8 bytes andi.b #%11111000,D2 move.l D2,(A1)+ clr.l (A1)+ move.l #'uSnM',(A1)+ lea (TemporaryString-RefAddr,A6),A0 .copy_filename move.b (A0)+,(A1)+ bne.b .copy_filename movea.l (SP)+,A0 ;A0 = Seglist ptr .copy_init_done movea.l (4,A0),A0 ;Hunk code, starts with table name ptr. lea (tblUserSymbolNames,PC),A1 movea.l (A1,D5.W),A1 ;A1 = Pointer for given symbol base. moveq #$17,D0 .copy_table_name move.b (A0)+,(A1)+ dbeq D0,.copy_table_name clr.b -(A1) |
30 September 2023, 02:50 | #59 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 522
|
I've generated and assembled a symbols file for the macro codes that Resource uses internally. All files are in the zone as Resource606CodeSymbols.7z. There's a bug in that some invalid characters are left in label names for the symbols, but this can be tweaked and checked.
|
15 October 2023, 23:05 | #60 | ||
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
Quote:
Quote:
I can confirm this. Needs debugging to find out what the problem is. No code changes here AFAIR. See Makefile. make DEBUG=1 for symbols or SAS/D1 recommend basm because vasm doesn't create symbols for local labels |
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ReSource 6.06 | yoki | request.Apps | 6 | 04 November 2009 17:29 |
ReSource? | gospodin | request.Apps | 2 | 30 March 2009 13:36 |
ReSource 6.XX | MrZammler | request.Apps | 7 | 30 October 2007 14:15 |
ReSource v6.06 | A.I | request.Apps | 3 | 08 October 2005 21:25 |
Resource | Amigaboy | request.Apps | 2 | 16 August 2001 05:15 |
|
|