Ultimate Amiga

Please login or register.

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

Author Topic: Moving House  (Read 3664 times)

0 Members and 1 Guest are viewing this topic.

bruceuncle

  • AMOS Dev
  • A500
  • *****
  • Karma: 6
  • Offline Offline
  • Gender: Male
  • Posts: 425
  • WINUAE Amiga User
Moving House
« on: November 18, 2013, 04:31:55 AM »

Just to let everyone know that I'm moving to a new house at the moment.  Well, not actually new, but a beautiful old house built in the 1940s.  In a lovely small country town.  So a complete change of life for us  8) .

I'll be unavailable for a couple of weeks until I get everything PC related set up at the new location.  I'm typing this on my smartphone, which is a real pain.  So my priority will be with getting back online a.s.a.p.  That may not necessarily be my wife's priority however  ;D .

I would like to congratulate SamuraiCrow on his magnificent and detailed responses in the thread on using AMOS banks to implement arrays of complex data types.  His patience seemed inexhaustible  8) .

To throw another log onto that particular problem, consider:
Use a two-dimensional array to hold the addresses of each element of the data type in the bank.  So the bank is allocated to a size large enough to hold all the elements.  Then the array is initialised by iterating through it putting addresses into each of its elements, simply adding the data type's length each time.  Probably haven't explained that too well.  The result is that you then reference an element's address using familiar (x,y) notation.  Then reference the data type's elements using offsets.

I did mention this is being typed on my phone, so if the above makes no sense, I'll do an example in a couple of weeks when I get my PC back    ;)
Logged
Repeat after me ...  "The AMOS Pro architecture is complex but it is not complicated."
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022