English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 18 October 2020, 13:49   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,894
Do you know them by heart or do you use doc?

Hi
I was wondering if hardware banging coders know all registers by heart in
1) hex values
2) include names
3) No I just use the documentation.
kamelito is offline  
Old 18 October 2020, 14:18   #2
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,536
4) if I don't remember by hex value or name I check the documents
ross is offline  
Old 18 October 2020, 15:27   #3
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,894
3) for me, I don't think my brain is able to store them anyway.
kamelito is offline  
Old 18 October 2020, 15:45   #4
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,035
If i'm hacking/cracking something, I remember hex values, but if i'm coding in Devpac, I at least try to use includes and stuff so that my code is at least readable when I return to it, whereas something i'm hacking, once its done, i'm unlikely to ever go back to it.
Galahad/FLT is offline  
Old 18 October 2020, 16:02   #5
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Can probably count better in hex than I do decimal

I use all the current includes, bit names as they are defined in the HRM - but I keep a copy of the HRM next to me just in case and a file with Randy's AGA docs just in case.
mcgeezer is offline  
Old 18 October 2020, 23:42   #6
Antiriad_UK
OCS forever!
 
Antiriad_UK's Avatar
 
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
Apart from color00 (180) I don't know any by heart - but I don't do any reverse engineering/cracking.
Antiriad_UK is offline  
Old 19 October 2020, 15:52   #7
WayneK
Registered User
 
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 367
Quote:
Originally Posted by ross View Post
4) if I don't remember by hex value or name I check the documents

This ^^


Most of the time I remember them, if I don't then I look them up
WayneK is offline  
Old 22 August 2024, 11:15   #8
Rock'n Roll
German Translator
 
Rock'n Roll's Avatar
 
Join Date: Aug 2018
Location: Drübeck / Germany
Age: 50
Posts: 217
I actually memorised the registers like vocabulary years ago. It's worth it and I can only recommend it,
because otherwise you would have to refer to the documentation too often. Of course, I've forgotten some of them since then and would have to
the list again. The rest is down to practice, but it's particularly useful when working with the debugger.

If I don't know something, I look it up online: http://amiga-dev.wikidot.com/information:hardware
I have created a bookmark for quick access.
I also have a bookmark for this: https://amigafonteditor.ozzyboshi.co...onversion.html

Personally, I don't like includes in the sources either. I prefer to have the value or the register directly in view.
Maybe just the register names, e.g. the blitter registers, but not any bits or flags.
Otherwise I would always have to look in the includes to see what is hidden behind these names. It also bloats the sources of my opinion
unnecessarily. But everyone likes it differently. But of course they also have their advantages and their justification.

What is also very important in addition to the registers, however, is to know (roughly) which bits in the hex values at
which bit positions are set or deleted as nibble, byte, word.

The high school is when you can also name the individual bit positions in the individual control registers from memory!
Here, however, it is sufficient to know which bits are in which register and what they do.

When looking at a copper list, you should immediately see what is going on.
and maybe you should also have some op-codes on it. e.g. 4e75

quite a chaos of numbers... but we have the overview
Rock'n Roll is offline  
Old Today, 07:24   #9
junosix
Registered User
 
Join Date: Jan 2014
Location: Plymouth, UK
Posts: 33
Hex values instead of include as the include names feel a bit like I'm abstracted from the hardware. Usual reference order: Amiga memory map for initial lookup, then a search on EAB/Google, and finally a scroll through the HRM if needed.

The only one I know off the top of my head is 180 for background colour, 096 and 09a are kind of getting in there too but memory map required to remind myself what each bit sets.
junosix is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doc Malone whitebird project.aGTW 10 25 April 2018 18:57
Wordworth to Word Doc? superquake support.Apps 5 02 March 2006 19:17
Doc Crocs Adventures Smiley request.Old Rare Games 3 27 February 2005 14:41
Game doc discs Gabe support.Games 3 13 December 2004 11:17
Doc displayer contents Champions_2002 request.Old Rare Games 0 27 May 2003 10:11

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 13:24.

Top

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