English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 21 November 2020, 22:08   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Structures offsets

Hi,
Is there a document somewhere with the Amiga structures preferably for ASM where the offsets are written before each item of a given struct?
I seems to remember that such thing exist but they're not available in the includes I've.
Anyone?
thanks
kamelito is offline  
Old 21 November 2020, 22:41   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
They're in the LVO directory in the assembly includes on the SDK.

Edit: whoops! Those are the offsets within the library structure for the jump table entries.

Edit2: If version 2 includes are good enough, the .i files are in directories in http://amigadev.elowar.com/read/ADCD.../node0001.html

Last edited by Samurai_Crow; 21 November 2020 at 22:51.
Samurai_Crow is offline  
Old 21 November 2020, 23:08   #3
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
I was probably not clear I guess.I don’t want to count every entry of the Struct based on their types but wanna the offset of all items in bytes.
kamelito is offline  
Old 21 November 2020, 23:12   #4
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
this information is in the RKRM (libraries/includes). But I never could get an electronic version of those.

And OCRing them is a nightmare.
jotd is online now  
Old 21 November 2020, 23:24   #5
Radertified
Registered User
 
Join Date: Jan 2011
Location: -
Posts: 728
Quote:
Originally Posted by jotd View Post
this information is in the RKRM (libraries/includes). But I never could get an electronic version of those.

And OCRing them is a nightmare.
RKRM are available as searchable PDF's at DLH's Commodore Archive.
Radertified is offline  
Old 21 November 2020, 23:39   #6
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Yes, you can find them here

http://amigadev.elowar.com/read/ADCD.../node0551.html

Include and Autodocs 2.1 -> System References -> Structure Offsets
Hope this helps you Kamelito, it helps me.
redblade is offline  
Old 22 November 2020, 00:15   #7
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Yep it will help me for sure, thanks you all, includes & autodocs do the tricks too.
kamelito is offline  
Old 22 November 2020, 00:15   #8
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
this elowar site is superb!
jotd is online now  
Old 22 November 2020, 11:48   #9
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
http://aminet.net/package/dev/asm/StructureGuide
PeterK is offline  
Old 22 November 2020, 14:01   #10
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Thanks Peter
kamelito is offline  
Old 22 November 2020, 14:52   #11
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,214
Quote:
Originally Posted by kamelito View Post
Hi,
Is there a document somewhere with the Amiga structures preferably for ASM where the offsets are written before each item of a given struct?

Yes, certainly. These are parts of the "Include files" aka ".i" files which define such offsets by means of the "STRUCT" and "STRUCTURE" macros. You find them as contribution of every serious Amiga assembler or compiler, or on the developer CD.


Assemblers and C compilers can read them natively, by means of "INCLUDE" or an "#include" directive, and some debuggers can read them as well ("COP" can, for example).
Thomas Richter is offline  
Old 22 November 2020, 20:24   #12
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Who owns elowar.com? Does that person use this site?
redblade is offline  
Old 22 November 2020, 21:32   #13
Radertified
Registered User
 
Join Date: Jan 2011
Location: -
Posts: 728
eLowar owns it. Unfortunately I haven't seen him around here or on IRC in a while.
Radertified is offline  
Old 23 November 2020, 10:40   #14
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Quote:
Originally Posted by Radertified View Post
eLowar owns it. Unfortunately I haven't seen him around here or on IRC in a while.
I feel like an idiot, He's a moderator too
redblade is offline  
Old 23 November 2020, 14:09   #15
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
I have complete set of the 1.3 RKMs here (and the amazing Ariadne's kickstart guide to the Amiga - best Amiga book ever) here so I've not really needed to look online for this stuff.
But recently doing some research into Devices/DOS I found myself using elowar's site as an extremely useful online reference to have on my phone (also interesting to see the 1.3->2.0 changes)!

It's an amazing resource.
bloodline is offline  
Old 23 November 2020, 15:33   #16
Tomislav
Registered User
 
Join Date: Aug 2014
Location: Zagreb / Croatia
Posts: 302
If you need something about AGA stuff elowar don't have it but you can look here: http://amiga-dev.wikidot.com/
Tomislav is offline  
Old 24 January 2021, 07:26   #17
litwr
Registered User
 
Join Date: Mar 2016
Location: Ozherele
Posts: 229
I have found out that this book is a very useful source of information. Though it is in German and I know only a little about this language.
litwr is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library offsets BippyM Coders. General 17 29 April 2020 03:32
some starglider 2 data structures ara Coders. General 11 11 March 2011 19:56
Dat File Offsets? Brakus Coders. General 2 29 June 2008 00:51
Memory Data Structures Zetr0 support.Hardware 7 30 September 2007 17:38
IFF/ILBM structures .... freddix Coders. General 7 18 September 2006 09:54

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:34.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09439 seconds with 15 queries