Resolve issue 38; replace bad code in MG-RPC with strcpy #49

Merged
ZAdamMac merged 1 commit from b/rps-game-38 into v/0.4.1 2024-12-03 20:51:44 -04:00
ZAdamMac commented 2024-12-03 20:51:34 -04:00 (Migrated from github.com)

Resolves #38.

The crash was being caused by illegal addressing/overflow issues when working with direct character assignment into the DISPLAY_FRAME constituent "strings". By replacing basically the entire "attractMode" function with subfunctions that do by-line operations against the global WORK_STRING and then assigning those to the display frame, we resolve the bug.

This also starts using the DISPLAY_blankFrame() convenience function.

This does not (as originally suggested) implement any of the FUTURE tags.

Resolves #38. The crash was being caused by illegal addressing/overflow issues when working with direct character assignment into the DISPLAY_FRAME constituent "strings". By replacing basically the entire "attractMode" function with subfunctions that do by-line operations against the global `WORK_STRING` and then assigning those to the display frame, we resolve the bug. This also starts using the `DISPLAY_blankFrame()` convenience function. This does not (as originally suggested) implement any of the `FUTURE` tags.
Sign in to join this conversation.
No description provided.