Image Map Image Map
View RSS Feed

Recent Blogs Posts

  1. SCREAMER 4x4 [2000, PC] Review | It's a Pixel THING - Ep. 125

    By the end of 2000, one of the most satisfying off-road experiences passed completely under the radar of many fans of the genre.
    Screamer 4x4 may be an untamed beast, but sure is an amazing ride!

    SCREAMER 4x4 [2000, PC] Review | It's a Pixel THING - Ep. 125
  2. 26 PERFECT AMIGA GAMES to play with the MAVERICK 1 | It's a Pixel THING - Ep. 124

    Iíve been messing around with my QuickShot Maverick 1 and ended up discovering a new and far more enjoyable way of exploring certain games that I used to play with a traditional joystick back in my Amiga years.
    So, hereís a list, with no specific order, of 26 Amiga titles that Iíve found to be more enjoyable when played with an arcadish style of controller like the Maverick 1!

    26 PERFECT AMIGA GAMES to play with the MAVERICK 1 | It's a Pixel THING - Ep. 124
  3. Random Cubic Polynomial in Assembler

    I finally reached back into some of my first assembler [1] to write a routine called cubicnom() that generates a random cubic polynomial as the title implies. This pulls together several recent bits of code to seed the random number generator using a string and sprintf the results to a location in memory.

    Click image for larger version. 

Name:	cubicnom-magsmaze.jpg 
Views:	16 
Size:	30.0 KB 
ID:	40007

    First, here's a random() function which accepts range parameters BX to CX. Thus if I pass in 1 and 9, respectively, then I'll get back ...
  4. Seeding Randomness with a String

    Random numbers are great but sometimes you want them to be consistently random (an oxymoron!) so that you can rely on their pattern being the same. For example, in Magenta's Maze everything is generated from random numbers that are seeded by the spell name. This is a string which is boiled down to an integer that is used to reset the pseudo-random number generator. Thus, the level generated for a certain string is always the same even across computers and time.

    In the first version, ...
  5. RAND() in Assembler

    The puzzles of Magenta's Maze are generated using the barely sufficient rand() function supplied by MSC 5.1. There are some issues with this, most notably that the highest bit of the 16-bit word output is always zero. The way we C programmers were taught to use this function was to modulus the result by the maximum amount desired thus providing 0 to N - 1 (where N is the maximum). This is unfortunately how Magenta's Maze uses it to place objects within the map and rotate the magic circles.
    Tags: assembler, debug, math, x86 Add / Edit Tags
Page 1 of 100 123451151 ... LastLast