Welcome, Guest. Please login or register.

Author Topic: Some errors in hardware manual??!  (Read 2025 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Some errors in hardware manual??!
« on: February 17, 2004, 05:48:38 PM »
Quote

Jose wrote:
For example on the basic playfield summary they allocate memory after defining the color of each pixel and worth, after setting BPLxPTH !!!


Are you using a paper copy or the text version? If paper, please give me a page so I can look up what you're talking about. If text, tell me where to look.

Quote

And by the way, the copper values they suggest to the start of the line are actually on the previous line! (though hidden in the end...)


Its probably the very end of the previous line, so that any write to register with the next copper instruction would occur at the very start of the next line.
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: Some errors in hardware manual??!
« Reply #1 on: February 17, 2004, 06:51:47 PM »
@Jose

Looks like the example is assuming you're going to AllocAbs() your bitplane memory. Its not really a mistake, its just a very, very bad idea :-)

If I were you i'd apply common sense to everything you read in the HW-reference. Of course you should allocate your plane buffer in a sensible way, either with a chipmem-bss section, or AllocMem() so that its valid BEFORE setting up your copperlist.
Playstation Network ID: xeron6