Dear visitors and members, with the staff having moved on to other life interests and as a result of changes in people's internet usage habits, the CodeWalrus community have migrated almost entirely to Discord, IRC and WalrusIRC and is now essentially a place where to hang out, chat about gaming, programming, music, anime, and chill. As a result, even though the CW forums will remain open for posting, for faster TI, Casio or HP calculator help and news we recommend using the bilingual TI-Planet forums instead.

We encourage everyone to join our Discord server now.

* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Jumpman Resurrected  (Read 6191 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranman

  • Full User
  • Safe-haven access
  • Join Date: Feb 2017
  • Location:
  • Posts: 78
  • Post Rating Ratio: +4/-0
  • Gender: Male
Re: Jumpman Resurrected
« Reply #45 on: November 07, 2017, 03:58:15 am »
For Lionel...

I implemented your suggestions. The -Os switch did cause me some problems... specifically it made the DrawSelectScreen function very fragile. I had to add some defensive coding to get it working again; but still it seems like even minor change to the function would break it again. It is working now. The -Os switch also resulted in my Sleep function no longer delaying for the specified amount of milliseconds (it was getting optimized out)... this gave the appearance that Jumpman was 100% to 200% faster. I ended adding some asm("NOP") to ensure my delay loop would not get optimized.

I did not implement the inlines that you suggested. I did not realize the BSS section resulted in such unoptimized calls. Thanks for pointing that out.

Thank you for your suggestions to make Jumpman even better.

I also corrected a few minor bugs:
- enemy collision detection was intentionally disabled for testing purposes but was unintentionally included in the release.... whoops :-[
- tightened up the collision detection with bullets and collectables
- corrected the version string to v1.01

Update coming soon  ;D
« Last Edit: November 07, 2017, 05:03:58 am by Ranman »
  • Calculators owned: TI-89 HW1, TI-92+, Casio 9860G Slim, Casio fx6300, Tandy PC7
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.


You can also use the following HTML or bulletin board code to share it on your page or forum signature!

Also do not forget to check our affiliates below.
Planet Casio TI-Planet BroniesQC BosaikNet Velocity Games