Welcome, Guest. Please login or register.

Author Topic: GFX cards  (Read 10278 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show only replies by melott
GFX cards
« on: January 16, 2003, 02:53:24 AM »
Hi ...
 Here's where I really show my ignorance.
 I have Blitz 2.1 and downloaded the upgrades fron
 Aminet. Now I have a Retina Z11 gfx card that is
 not supported under picasso 96.
 I would like to program a driver for RTG for this
 card. I played some with basic on my old C64.
 I know this could be a daunting job for someone
 as uneducated as myself, but I'd like to try.
 If someone could give me some kind of outline--
 I mean --WHERE DO I START????
 I have all the Rom Kernal books and numeris
 other programing books I bought for my son
 before he seen the "INTEL" light.
 I know I should start with something easer,
 but I have a need for the driver and I would
 rather struggle that than some meaningless
 little util.
 So any help here would be greatly appreciated.

  Mel Ott :-?

 :-?  :-?  :-?
Stealth ONE  8-)
 

Offline N7VQM

  • Sr. Member
  • ****
  • Join Date: Dec 2002
  • Posts: 272
    • Show only replies by N7VQM
Re: GFX cards
« Reply #1 on: January 16, 2003, 05:15:36 AM »
Whoa!  You're talking about a hell of a programming project! :-o

0 - Get general C/C++ programing books if you don't already have some.  Some books on advanced topics probably wouldn't hurt, either.
1 - Get a good C/C++ compiler and assembler.  I highly doubt Blitz is up to the task.
2 - Aquire as much hardware documentation about your Retina as you can find.  You'll need memory maps, control register descriptions, etcetera.  This step will probably require experimentation to find out what register does what.
3 - Get familiar with AmigaOS internals.  If you ask those P96 guys nicely, they might give you some pointers about that.  Among other things, you'll have to learn how to locate the card in system.
4 -  Get some wrist braces or a very nice wrist support...I think you're going to do alot of typing.
5 - Don't get mad - get even!  When that library function to set a screenmode doesn't work, show it who's boss by debugging it! (Ok, ok...not really a step this early in the show but....)
6 - Don't be ruffled when something doesn't work right the first time.  So much can be learned from mistakes.

Somewhere around step 500, you might be ready to write that driver.  However, what you do between step 6 and then, I don't know.  I'm not that far myself.

Best of luck,
Steve
\\"...an error of 1 is much less significant in counting the population of the Earth than in counting the occupants of a phone booth.\\" - Michael T. Heath, Scientific Computing...
 

Offline Ilwrath

Re: GFX cards
« Reply #2 on: January 16, 2003, 06:12:07 AM »
@melott-

In addition to all that N7VQM said...  I'd like to chime in with a little knowledge of the Retina Z2 card.  It's a very old card...  Created back before the idea of RTG had really been thought about.  Hardware was also very expensive back then, and as such, some corners were cut with this card.  It uses some very strange addressing modes.  This means, an already difficult task of writing a low-level device driver is that much harder because it's a low-level driver to interface with outdated, strange, and poorly documented hardware.  

The team for CyberGraphX have attempted to support the Retina Z2 several times (and have been met with very limited success, as I understand) and these are the people with the very best qualifications to do something like that.  If you really insist on giving this a run, I'd recommend getting proficient with C/C++ and Amiga assembler.  You'll need it.  Then, contact the CyberGraphX team, and see if they even think it's POSSIBLE to support the hardware in any useful form, and ask for any notes on it they might have.  You'll need them.  This is a LOT bigger project than you are imagining.
 

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show only replies by melott
Re: GFX cards
« Reply #3 on: January 16, 2003, 06:50:56 PM »
OK.... :-)
  Like I said in the begining :-) I'm showing my
 lack of knowledge.
 I have SAS-C also, a gift from a friend of my son.
 He also went over to the "BOX" , he is a very good
 programer( make his living that way working some
 company or other). Anyway he gave me his SAS-C
 and all his books but I though I would start with a
 language that is a little more familiar.
  I'm guess I'm like the old saying goes
 " All these books and I CAN'T read alick".
  So --- I'll check this stuff out.
  Thanks much, I'm not proud. I except help from
  where-ever I can get it. :-)  :-?
 
 Mel Ott
Stealth ONE  8-)
 

Offline JurassicCamper

  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 635
    • Show only replies by JurassicCamper
Re: GFX cards
« Reply #4 on: January 16, 2003, 06:59:40 PM »
Goto vgr.com

the nice people over at vgr.com  have posted upyour message there with some information for you
A1200T PPC 330Mhz in a Custom Modified Fractal Design R3 Case
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: GFX cards
« Reply #5 on: January 18, 2003, 11:56:44 PM »
hmm... you really need assembler & C...
a graphics driver(especialy for AmigaOS) is quite a bit more difficult than any application

but GOOD ON YA! if thats what you want to do!!  ;-)

put blitz basic aside to make a pong clone one day!
 ;-)