English Amiga Board


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

 
 
Thread Tools
Old 14 July 2020, 14:02   #1
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 385
Are Intuition and Graphics libraries used in hardware programming?

Hi all,


I was wondering if Intuition and graphics libraries have any place when doing hardware non-system programming on the Amiga or if they are only used in system programming. For example do screens and windows even have any meaning anymore?
Nightfox is offline  
Old 05 August 2020, 12:11   #2
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,773
There are some games using this.
Battle Chess and Marble Madness for instance.
Tigerskunk is offline  
Old 05 August 2020, 12:19   #3
mr.spiv
Registered User
 
mr.spiv's Avatar
 
Join Date: Aug 2006
Location: Finland
Age: 51
Posts: 242
Common example of "mixed use" back in days was to graphics.library to open RastPorts and print text (using topaz) at the init phase and then bang the hw. Today graphics.library is essential to take over & restore the display/view in a way that hw banging in "native mode" works on RTG amigas.
mr.spiv is offline  
Old 05 August 2020, 12:27   #4
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,640
By a strict definition if it's "non-system programming" it will not be using system libraries such as these at all. But as mr.spiv pointed out there is a continuum between that and full use of the OS for everything. If the OS is going to keep running in the background it's wise to at least allocate what you will be needing (memory, sound channels, etc.) so the OS and other programs will not try to use them.

Last edited by Minuous; 05 August 2020 at 13:31.
Minuous is offline  
Old 05 August 2020, 12:35   #5
mr.spiv
Registered User
 
mr.spiv's Avatar
 
Join Date: Aug 2006
Location: Finland
Age: 51
Posts: 242
Quote:
Originally Posted by Minuous View Post
By a strict definition if it's "non-system programming" it will not be using system libraries such as these at all. But as mr.spiv pointed out there is a continuum between that and full of use of the OS for everything.
Okay.. AFAIR there are also demos/intros that do mix both like taking over the copper and partly IRQ vectors but still continue using graphics.library to draw stuff.
mr.spiv is offline  
Old 05 August 2020, 13:21   #6
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
You can use intuition.library to open your screen and then access bitplane data directly. Not sure it can still be called hardware programming, though.
meynaf is offline  
Old 05 August 2020, 14:46   #7
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,232
Quote:
Originally Posted by meynaf View Post
You can use intuition.library to open your screen and then access bitplane data directly. Not sure it can still be called hardware programming, though.
As soon as the screenmode is redirected to an RTG mode, this will crash you.
Thomas Richter is online now  
Old 05 August 2020, 15:00   #8
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by Thomas Richter View Post
As soon as the screenmode is redirected to an RTG mode, this will crash you.
The OS doesn't have any right to do this. I'm asking for a planar mode, i get a planar mode. For using RTG modes, you have to ask for them explicitly.
meynaf 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
WTB : Learning C: Programming Graphics on the Amiga and Atari ST kamelito MarketPlace 3 25 April 2019 20:17
16:01 Amiga Hardware Programming in C kamelito Coders. Asm / Hardware 3 26 March 2018 20:28
AMIPS - Amos Intuition Programming System Etze request.Apps 3 21 August 2015 08:27
Graphics Programming Black Book Amiga Forever Coders. Language 2 20 April 2012 07:23
Best practices for direct hardware programming ? weiju Coders. Asm / Hardware 27 31 October 2011 13:10

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 09:11.

Top

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