home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Demo/game to OS frien
- Date: 6 Feb 1996 11:14:48 +0100
- Organization: dis-
- Message-ID: <4f79mo$emb@serpens.rhein.de>
- References: <4f6r3u$2db@sinsen.sn.no>
- NNTP-Posting-Host: serpens.rhein.de
-
- tbk@sn.no (Thore Bjerklund Karlsen) writes:
-
- >If you code knowing that your program won't support gfx-cards, why not
- >also assume it is a standard Amiga?
-
- BECAUSE PEOPLE HAVE OTHER HARDWARE THAN YOU.
-
- *shit*
-
- It's what we tell you all the time. You assume things that are incorrect
- outside your tiny little c0d3r world. That's why your stuff breaks.
-
- >No you don't. If you stop the OS, only your own code is running.
- >Nothing to hack around.
-
- Not even that is true because other hardware might still be running and interfere.
- And you have to know and observe more than with OS programming.
-
- >>Well, I know that with HW programming (especially c0d3r style) you have
- >>to think about much more.
-
- >How do you know that?
-
- Because I know hardware and I know how to program it. What else do you think ?
-
- >Please.. Pull the other one. A VBLANK is defined as a VBLANK. After
- >a Loadview(0) it should be 50/60 frames a second.
-
- Of course that's not right. It could do 70 frames a second or 25.
-
- >If you assume an
- >Amiga with native display, blitter and CIA should be there.
-
- There you are. Assumptions instead of knowledge.
-
- >Well known hardware.
-
- So well known that most c0d3r stuff breaks on hardware they didn't have for testing
- (and sometimes even there).
-
- >>>How would Turrican 2 be using only the OS? Shadow of the beast 3
- >>>Somehow I doubt it could have been done with the OS.
-
- >>Maybe not exactly but pretty close.
-
- >How about full gfx-card supporting code, TOTALLY system-friendly
- >programming. Would it still be "pretty close"?
-
- Sure. That's what the system gives you. It is not limited to calling WritePixel().
-
- >Gfx-card support? That's the only reason I can see for using the OS.
- >And that means using *only* the OS for gfx-rendering..
-
- Do you know what OS programming means ? It means that you have a set of specifications
- for programs called an Application Programmers Interface and that you follow these
- specifications.
-
- It doesn't mean calling WritePixel(). If the specs say that you can access the frame
- buffer here and there you can do that. If the specs say you can have your own interrupt
- services then you can do that. If the specs say that you must not access the interrupt
- table then you have to follow that rule.
-
- >If it fails, it is shit code.
-
- You mean close to all c0d3r stuff is shit code ? Then we agree.
-
- >Yes, but what about those who have standard hardware? Do you want to
- >scroll an 8bpl-screen with the blitter on those machines, because
- >gfx-cards don't support hardware-scrolling and copper-tricks needed to
- >get fast scrolling?
-
- Why would I ? If a display is scrollable then I tell the system to scroll it.
- If the display is not scrollable then I have to move the bits accordingly.
-
- >Oh, perhaps you're claiming there is another way of scrolling a screen?
-
- No other method necessary.
-
- >And I believe you answered something like: "That's bullshit".
-
- *sigh*
-
- >"And why beholdest
-
- Does this say something ?
-
- >So tell me which interrupt could be different from what I assume!
-
- For existing hardware this is interrupt 2 and interrupt 6 and possibly
- every vectored interrupt. These can occur and you have no way to know
- how to handle them.
-
- >My machines?╗It has run on *EVERY* machine I have *EVER* tested it on.
-
- Doesn't say much. No ?
-
- >Hardware can't keep up with development, especially Amiga hardware. If
- >gfx-cards were standard, I would certainly use the system.
-
- Come on, that's the same shit your kind told "when 68020 were standard",
- "when 68060 were standard". When gfx-cards were standard then you surely
- would try to find a way to poke the gfx-card hardware.
-
- >You *have* to use some tricks to get an acceptable result!
-
- Oh sure. It needs lots of know-how to get an acceptable result. Mere assumptions
- of c0d3rz just produce junk though.
-
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-