English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 21 November 2020, 23:08   #1
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,234
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, 23:41   #2
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 46
Posts: 1,587
Send a message via Yahoo to Samurai_Crow
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 23:51.
Samurai_Crow is offline  
Old 22 November 2020, 00:08   #3
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,234
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 22 November 2020, 00:12   #4
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 49
Posts: 4,611
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 offline  
Old 22 November 2020, 00:24   #5
Radertified
Registered User
 
Join Date: Jan 2011
Location: -
Posts: 361
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 online now  
Old 22 November 2020, 00:39   #6
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 36
Posts: 1,623
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, 01:15   #7
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,234
Yep it will help me for sure, thanks you all, includes & autodocs do the tricks too.
kamelito is offline  
Old 22 November 2020, 01:15   #8
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 49
Posts: 4,611
this elowar site is superb!
jotd is offline  
Old 22 November 2020, 12:48   #9
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,816
http://aminet.net/package/dev/asm/StructureGuide
PeterK is offline  
Old 22 November 2020, 15:01   #10
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,234
Thanks Peter
kamelito is offline  
Old 22 November 2020, 15:52   #11
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 680
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, 21:24   #12
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 36
Posts: 1,623
Who owns elowar.com? Does that person use this site?
redblade is offline  
Old 22 November 2020, 22:32   #13
Radertified
Registered User
 
Join Date: Jan 2011
Location: -
Posts: 361
eLowar owns it. Unfortunately I haven't seen him around here or on IRC in a while.
Radertified is online now  
Old 23 November 2020, 11:40   #14
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 36
Posts: 1,623
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, 15:09   #15
bloodline
Registered User

bloodline's Avatar
 
Join Date: Jan 2017
Location: London
Posts: 296
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, 16:33   #16
Tomislav
Registered User

 
Join Date: Aug 2014
Location: Zagreb / Croatia
Posts: 242
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  
 


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 04:32
some starglider 2 data structures ara Coders. General 11 11 March 2011 20:56
Dat File Offsets? Brakus Coders. General 2 29 June 2008 01:51
Memory Data Structures Zetr0 support.Hardware 7 30 September 2007 18:38
IFF/ILBM structures .... freddix Coders. General 7 18 September 2006 10: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 08:15.


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