Welcome, Guest. Please login or register.

Author Topic: Low-level graphics api functions in RTG and NG systems.  (Read 2668 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline IonDaveTopic starter

  • Newbie
  • *
  • Join Date: Jun 2007
  • Posts: 20
    • Show only replies by IonDave
Low-level graphics api functions in RTG and NG systems.
« on: June 15, 2007, 01:18:41 AM »
I've just been examining the Amiga C Manual I found on Amiga University.

From what I understand of Classic OS RTG and OS4 in general (of which I have neither), if a program is OS friendly it will work. Does this hold true for low-level graphics through the api (e.g. viewports, hardware sprites, VSprites, etc...)? Or is graphics only retargetted when done through Intuition? If the latter is the case, what happens when you use low level graphics (API) functions in OS4 (or MOS/AROS for that matter.)

Please forgive me if this is a well known question but I am (very) new to AmigaOS development.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Low-level graphics api functions in RTG and NG systems.
« Reply #1 on: June 15, 2007, 01:31:45 AM »
Low level graphics typically do not go thru RTG.

There is no reason to use them anyway.
 

Offline IonDaveTopic starter

  • Newbie
  • *
  • Join Date: Jun 2007
  • Posts: 20
    • Show only replies by IonDave
Re: Low-level graphics api functions in RTG and NG systems.
« Reply #2 on: June 15, 2007, 01:46:44 AM »
I suspected as much.

Is there any reference as to what is retargetable and what's not? Would the picasso96 developer docs be the place to look? I cant seem to locate them.

If an emulated 68k app calls a non-retargetable API function in OS4 app what happens? Are they still defined in OS4's SDK?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Low-level graphics api functions in RTG and NG systems.
« Reply #3 on: June 15, 2007, 01:49:08 AM »
I'm afraid there is little documentation.

However, as a rule of thumb: anything dealing with screens, windows and rastports is RTG-able.
 

Offline IonDaveTopic starter

  • Newbie
  • *
  • Join Date: Jun 2007
  • Posts: 20
    • Show only replies by IonDave
Re: Low-level graphics api functions in RTG and NG systems.
« Reply #4 on: June 15, 2007, 01:55:46 AM »
Many thanks.