Jump to content

Sample code for 24bit value checks and randomization

Recommended Posts

I thought I'd share these two programs I wrote that I used for testing when I was working on developing Death Merchant. I added a few extras to make them more useful as demos. One demonstrates the simple asm code I used to do comparisons between two 24 bit values, the other demonstrates how I did random 16 bit price calculations (when I was testing price fluctuations). Hopefully these will help someone out.







  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...