øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=90.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index75bc-2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.400e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index75bc-2.html.zx)h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ@&B’rOKtext/htmlISO-8859-1gzip@øÕ’rÿÿÿÿÿÿÿÿWed, 11 Mar 2020 00:12:13 GMT0ó°° ®0®P®€§²ð®)h^Œ’r Refresh my memory

Author Topic: Refresh my memory  (Read 1821 times)

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Refresh my memory
« on: December 05, 2007, 11:57:07 PM »
How do 16bit pointers work?  And how would one change them to 24bit pointers?  Some people can guess where this is going.

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Refresh my memory
« Reply #1 on: December 06, 2007, 12:18:19 AM »
16-bit pointers can work a couple ways. They can be relative, which can be a pain in the ass. Relative is relative to their current position. So say you have some pointers at 00/5400. The first pointer reads 0000, where it's pointing would be the first set of whatever after the pointers.

Then there's absolute. With absolute, you just look at the address, and go there in that bank. Easy as pie.

24-bit is similar, it just has the bank tagged on with it. To convert to 24-bit, you'd need to be handy at rewriting pointer grabbing routines.

119 bugs fixed and counting.

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: Refresh my memory
« Reply #2 on: December 06, 2007, 12:27:40 AM »
16-bit pointers can work a couple ways. They can be relative, which can be a pain in the ass. Relative is relative to their current position. So say you have some pointers at 00/5400. The first pointer reads 0000, where it's pointing would be the first set of whatever after the pointers.

Then there's absolute. With absolute, you just look at the address, and go there in that bank. Easy as pie.

24-bit is similar, it just has the bank tagged on with it. To convert to 24-bit, you'd need to be handy at rewriting pointer grabbing routines.

Hmmm.  I don't suppose I could con someone who's fluent in ASM to change a particular game over to the 24-bit pointer could I?   
:omghax:

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Refresh my memory
« Reply #3 on: December 06, 2007, 12:35:43 AM »
:bah:

Paste the routine, I'll see if I can. Just remember that all of the pointers just gained a byte, so you'll need to expand those yourself and possibly move them, if there's room.

119 bugs fixed and counting.