41 MCODE: Alice in Bufferland



#8

We have not Lewis Carroll but other few people to thank for this new 41 MCODE collection (to mention a few names: David Yerka, Håkan Thörngren, David van Leeuwen, and the wonderful anonymous CCD Module programmers - BTW does anyone know their names?)

So building upon their work, here's to let you know about the release of the BUFFERLAND module, absolutely free of charge (don't look for it on TAS = at least the price is right :) compiling a collection of your favorite Buffer-related functions, plus adding a few new ones from my own harvest, like:

- creation, deletion, and clearing of buffers

- buffer header, size and other vital signs

- exchange (STO/RCL) with "normal" data registers

- transfering to/from XMEM

- re-issuing the buffer id# - a hacker delight

- BFCAT, a buffer catalog featuring SST and BST- interactive operation (and certainly not an easy one to crack!)

- and the proverbial "much more"... did I say Key Assignments are also part of the pack?

All in all, the right toolset to make this seemingly obscure part of the 41 OS/Memory as transparent as main data registers or program memory can be.

And the better news is: just in time to be included in Monte's 41CL image file! and of course the usual submission to TOS will follow for those of you curious enough and/or interested in the subject...

Hope you enjoy it as much as I did programming it (never mind the sleepless hours trying to get it all work!_

Cheers,
'AM

Edited: 18 Jan 2011, 5:54 p.m.


#9

Hello Ángel,



sorry for being slow on the uptake but what is a "buffer" in terms of the HP41?



Is there any straightforward literature about this?



Regards

Frido



#10

Quote:
what is a "buffer" in terms of the HP41?

Buffers are reserved memory areas used by diverse application packs for internal housekeeping or calculations. Notorious buffers are the Advantage's for SOLVE/INTEG, the HP-Devel for MONITOR/SCOPE, and (of course) the 41Z for the complex stack.

Probably best to look at the comprehensive section in the book "Extend your HP-41", by Wlodeck - or just google for "41C buffers" :-)

Buffer table taken from the ICEBOX manual.-


Buffer id# Module/Eprom Reason
1 David Assembler MCODE Labels already existing
2 David Assembler MCODE Labels referred to
3 Eramco RSU-1B ASCII file pointers
4 Eramco RSU-1A Data File Pointers
5 CCD Module, Seed, Word Size, Matrix Name
6 Extended IL (Skwid) Accessory ID of current device
7 Extended IL (Skwid) Print Cols, number & width
8 41Z, Complex Stack, POLAR/REC settings
10 Time Module Alarms information
11 Plotter Module Data and barcode parameters
12 IL Development, CMT-200 IL buffer and monitoring
13 CMT-300 Status Info
14 Advantage INTEG & SOLVE scratch
15* Mainframe Key Assignments
*) KA area isn’t really a buffer.
>

Edited: 19 Jan 2011, 4:31 a.m.

#11

Quote:
And the better news is: just in time to be included in Monte's 41CL image file! and of course the usual submission to TOS will follow for those of you curious enough and/or interested in the subject...

But no management of the extra CL memory :-(

- Pauli


#12

Quote:
But no management of the extra CL memory :-(

Sorry but I don't understand your remark: buffers are in main RAM and have nothing to do with the 41CL MMU or its design?


#13

All the aforementioned transfer functions but to the CL's extra RAM.

Fairly rhetorical actually.


- Pauli

#14

I am eagerly awaiting this one.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-41 MCODE: The Last Function - at last! Ángel Martin 0 147 11-08-2013, 05:11 AM
Last Post: Ángel Martin
  41-MCODE: Auto XEQ+ALPHA possible? Ángel Martin 5 270 05-29-2013, 06:15 AM
Last Post: Ángel Martin
  HP 41 Mcode related Questions Michael Fehlhammer 4 246 05-10-2013, 07:09 PM
Last Post: Michael Fehlhammer
  41-MCODE: Breaking the FAT barrier. Ángel Martin 0 116 09-03-2012, 06:31 AM
Last Post: Ángel Martin
  41-MCODE: Dr. Jekyll & Mr. Hyde Ángel Martin 9 370 07-09-2012, 09:41 AM
Last Post: Monte Dalrymple
  HP41C: Factorial (kind of) in MCODE Frido Bohn 7 331 05-26-2012, 09:18 AM
Last Post: Frido Bohn
  41-MCODE: SOLVE & INTEG - 4k ROM Ángel Martin 9 363 04-19-2012, 05:29 AM
Last Post: fhub
  41-MCODE: a weekend challenge Ángel Martin 3 178 03-19-2012, 06:49 AM
Last Post: Mike (Stgt)
  41-MCODE trivia: backwards or forwards? Ángel Martin 3 172 03-05-2012, 04:38 PM
Last Post: Håkan Thörngren
  32-bit MCODE tool chain for the HP41 incl. D41 now MichaelG 4 214 02-12-2012, 08:57 PM
Last Post: Kerem Kapkin (Silicon Valley, CA)

Forum Jump: