Search found 58 matches
- Wed Nov 22, 2023 8:52 am
- Forum: DM41X
- Topic: MCode A B C Register
- Replies: 8
- Views: 1472
Re: MCode A B C Register
The main problem here is that the HP41 VASM listing are quite well commented, except for the math routines, which have practically no comments at all. So it is quite difficult to understand the operation and entry and exit conditions for these routines, and which CPU registers are used along the way.
- Tue Oct 31, 2023 8:52 pm
- Forum: DM41X
- Topic: David Assembler question.
- Replies: 6
- Views: 2815
Re: David Assembler question.
There are some tools that allow you to create a .MOD file. As far as I know these run on a Windows PC. You can use ModEdit (available at hp41.org), but be really careful with the parameters. Best is to take an existing MOD file and edit that. There is not an easy way from your own ROM in the DM41X t...
- Mon Oct 30, 2023 11:25 am
- Forum: DM41X
- Topic: David Assembler question.
- Replies: 6
- Views: 2815
Re: David Assembler question.
Basically you indeed need these two modules. Assembler 3 is optional, in theory you can do anything with DAVID only. To load a RAM page, you have to take a .MOD file configured as a RAM page. These are readily available in the .MOD repository in V41 (a great emulator for your PC (if you are using Wi...
- Mon Oct 30, 2023 9:45 am
- Forum: DM41X
- Topic: David Assembler question.
- Replies: 6
- Views: 2815
Re: David Assembler question.
David Assembler can be used very well without HEPAX. Depending on your platform (assuming DM41X?) you just need to load a RAM page in the memory map. It is very useful though to load a ROM with mcode tools, like Assembler 3. Also recommended is the ROM with labels used by David Assembler. That is ho...
- Mon Jul 17, 2023 2:19 pm
- Forum: DM41X
- Topic: Possible to replace OS ROM?
- Replies: 9
- Views: 2660
Re: Possible to replace OS ROM?
Would be nice if this could be possible. I just checked, and there are indeed 2 MOD files embedded in the firmware .bin file (search for MOD1 in the .bin file), first one with the (patched) system ROMs, the other one is the printer 1E (this is not patched).
- Sun Jul 16, 2023 11:49 am
- Forum: DM41X
- Topic: Possible to replace OS ROM?
- Replies: 9
- Views: 2660
Re: Possible to replace OS ROM?
There might be a way to replace the DM41X built-in ROMs. I have not tested this myself, but looked into this some time ago. Just have a look with a hex editor into the original .bin firmware files. The system ROMs are embedded in there in what looks like a MOD file structure. With some tweaking it c...
- Tue May 09, 2023 11:10 am
- Forum: DM41X
- Topic: Weird slowdown in loop
- Replies: 3
- Views: 2016
Re: Weird slowdown in loop
Also check if you have the PRINTER-1E module loaded in page 6. If that is the case then it will throttle the IR output after some time when the VIEW X is sending data to the printer. This throttling will then slow down your program to allow the printer to keep up with the data sent by the DM41X.
- Wed Apr 05, 2023 2:15 pm
- Forum: DM41X
- Topic: Hepax delete raw from rom
- Replies: 2
- Views: 1731
Re: Hepax delete raw from rom
The command you are looking for is HPURFL. Use with caution, as any programs saved after the program to delete will be moved and their XROM numbers will change. This may impact key assignments and subroutine calls to an XROM number.
- Tue Jan 31, 2023 10:14 am
- Forum: DM41X
- Topic: Hepax Module
- Replies: 2
- Views: 1685
Re: Hepax Module
I would recommend to have a look at this thread: viewtopic.php?f=24&t=2833&hilit=hepax. It is a long one but gives a lot of information on larger HEPRAM sizes
- Mon Jan 30, 2023 4:43 pm
- Forum: DM41X
- Topic: Hepax Binary Function
- Replies: 4
- Views: 1687
Re: Hepax Binary Function
Same for all binary functions. For this some knowlegde of how the numbers are coded in the registers is needed. Best source is one of the books on Synthetic Programming. In your case, the bitwise OR between 9 and 2 is B, so this is correct. The internal routines to display the X-register cannot hand...