Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to set 2D array larger than 32, 32?  (Read 2410 times)

0 Members and 1 Guest are viewing this topic.

xboxisfinished

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 205
  • Generic Amiga User
    • gamemakermagazine.com
How to set 2D array larger than 32, 32?
« on: June 15, 2021, 03:44:49 AM »

   Hey guys,

Is there way to set array larger than 32 x 32? How do I go about doing that? Thanks in advance.
Logged

adrazar

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 69
  • Generic Amiga User
Re: How to set 2D array larger than 32, 32?
« Reply #1 on: June 18, 2021, 05:29:09 PM »

Insert a Set Buffer instruction at the top of the program. A 32x32 array requires 4k, so you need to provide a value > 4 to Set Buffer.
Logged

xboxisfinished

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 205
  • Generic Amiga User
    • gamemakermagazine.com
Re: How to set 2D array larger than 32, 32?
« Reply #2 on: July 31, 2021, 07:22:35 PM »

Thank you so much! Appreciate it.
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022