English Amiga Board


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

 
 
Thread Tools
Old 22 July 2021, 00:54   #21
TCH
Newbie Amiga programmer
 
TCH's Avatar
 
Join Date: Jun 2012
Location: Front of my A500+
Age: 38
Posts: 372
Got it,thanks. Stored in d3 and d2. BTW, if i store the old copper at the start, i can close
graphics.library
right away, right?

Edit: Yep, i can. Okay guys, everything works, thanks a lot.

Last edited by TCH; 22 July 2021 at 01:01.
TCH is offline  
Old 22 July 2021, 10:03   #22
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
Quote:
Originally Posted by TCH View Post
I see, thanks.You must be right, i am an idiot.
Nah, we all make such mistakes when we start. In fact, I still occasionally forget to align the odd variable here and there.
Quote:
Okay guys, everything works, thanks a lot.
Cool, hope you have fun with it
roondar is offline  
Old 22 July 2021, 13:14   #23
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by TCH View Post
What is this
LVO
prefix?
Probably Ross used that designation to match the symbols from amiga.lib with the same name. Alternatively you could import these symbols from amiga.lib with
xref _LVODisable
, etc., without having to know their exact value.

Quote:
Well, it only happened when i tried to access some variables
Especially if you want to write to them, or take their address with '#', right?
These are the cases where the assembler has to add a relocation entry to your executable. The format of that relocation table is
HUNK_RELOC32SHORT
by default (to save some space), which AmigaDOS only understands since OS2.0. Hence,
-kick1hunks
, which you should always use when targetting Kickstart 1.x systems.
phx is offline  
Old 23 July 2021, 19:38   #24
TCH
Newbie Amiga programmer
 
TCH's Avatar
 
Join Date: Jun 2012
Location: Front of my A500+
Age: 38
Posts: 372
Quote:
Originally Posted by phx View Post
Probably Ross used that designation to match the symbols from amiga.lib with the same name. Alternatively you could import these symbols from amiga.lib with
xref _LVODisable
, etc., without having to know their exact value.
I see, thanks.
Quote:
Originally Posted by phx View Post
Especially if you want to write to them, or take their address with '#', right?
These are the cases where the assembler has to add a relocation entry to your executable. The format of that relocation table is
HUNK_RELOC32SHORT
by default (to save some space), which AmigaDOS only understands since OS2.0. Hence,
-kick1hunks
, which you should always use when targetting Kickstart 1.x systems.
Now, that certainly explains why it refused to run with 121. Thanks for the explanation.
TCH 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
open chunky screen grond Coders. System 7 02 February 2016 16:31
Open Screen / Open Font AGS Coders. System 7 02 March 2014 05:08
Open Amiga Game Database - Open Beta FrodeSolheim support.FS-UAE 3 01 May 2013 22:37
Amiga 600 not booting... Yellow screen, and Red screen when turning PSU off jbenam support.Hardware 34 20 March 2011 22:10
Need a small win98 prog, to open and close a directX screen... keropi Retrogaming General Discussion 9 25 April 2008 18:43

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:32.

Top

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