HP41: Updated RUBIK's / CHESS modules
|
12-28-2017, 07:46 AM
(This post was last modified: 12-28-2017 07:54 AM by Ángel Martin.)
Post: #11
|
|||
|
|||
RE: HP41: Updated RUBIK's / CHESS modules
(12-25-2017 12:43 PM)mstram Wrote: Angel, Thanks for your reply. Glad you figured out the emu41 part, I really have no clue how to do that... I only use V41 as emulator. Here's a quick & dirty SHOW routine to view the board configuration at any given time. The main issue is that you cannot really use it during the game because it overwrites R00 and the stack; so it's of limited interest. The routine lists all the 64 board squares in algebraic notation, adding the piece name and the color if a piece is there, or "EMPTY" otherwise. The color depends on whether HP plays white or black, as determined by flag 04. Code: 1 LBL "SHOW" I've made some tweaks to the CHESS ROM to make the prompting more intuitive, will post the updated ROM image in a coupe of days. I could add this SHOW routine if something else gets removed, it's packed as it is... PS. ARCLI in line 41 is included in the OS/X, and can be replaced with FIX 0, ARCL X PSS. "|-" is the append sign. "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 9 Guest(s)