Pre Release HP01 Running
|
07-17-2016, 03:09 PM
Post: #21
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 11:09 AM)fhub Wrote:(07-17-2016 10:44 AM)teenix Wrote: 1) If you look in the menu you can see an option [Fine tune timer] This will adjust the timer for the processor execution loop and therefore the time updates. A bit like using the crystal trimmer on the watch circuit board. It will never be perfect, but neither was the actual watch. The time will always drift slightly. It will sync to the PC time on start up. This is a pre-release watch/calculator, not what was made available to the public as far as I know. The engineers of the day obviously saw the same problem and made some changes before presenting it for sale. Looking at the code as it executes, the keys don't do anything that I can see unless they are pressed directly after entering valid time/alarm values and set the AM/PM display indicator if in 12 hour mode. Status bit 1 is the flag for 12/24 hour mode. The A register data changes, but the display change shouldn't have occurred, so I have modified the way the code interacts with the "hardware" but will test further before updating. I cannot even say for sure what frequency the internal chips operate at because even though I looked over the logic diagrams that are in the patent document, (and there are lots) the circuitry in that area is a bit vague, and the only text reference I could find was "some other frequency...". Therefore, I have assumed that the 38.4KHz from the crystal is multiplied to a similar value as the Classic chipsets run on otherwise the calculator would be painfully slow to use. cheers Tony |
|||
07-17-2016, 03:43 PM
Post: #22
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 03:09 PM)teenix Wrote: Therefore, I have assumed that the 38.4KHz from the crystal is multiplied to a similar value as the Classic chipsets run on ... Wouldn't it be better (and more accurate) to just use the PC's timer or realtime clock (RTC) for the emulator's clock and stopwatch instead of a 'virtual' timer? Franz |
|||
07-17-2016, 08:38 PM
Post: #23
|
|||
|
|||
RE: Pre Release HP01 Running | |||
07-17-2016, 09:07 PM
Post: #24
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 08:38 PM)Harald Wrote:(07-17-2016 03:43 PM)fhub Wrote: Wouldn't it be better (and more accurate) to just use the PC's timer or realtime clock (RTC) for the emulator's clock and stopwatch instead of a 'virtual' timer? Well, I would prefer a 'less of an emulator' with accurate times instead of a 'more of an emulator' with a clock showing wrong times. Franz |
|||
07-17-2016, 10:28 PM
Post: #25
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 09:07 PM)fhub Wrote:(07-17-2016 08:38 PM)Harald Wrote: That would make it less of an emulator though. The clock register of the HP-01 is a hardware counter, which is running independant of the microcode. Therefore using the PC clock hardware is the appropriate way for simulating an accurate clock. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
07-17-2016, 10:44 PM
Post: #26
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 03:09 PM)teenix Wrote: Therefore, I have assumed that the 38.4KHz from the crystal is multiplied to a similar value as the Classic chipsets run on ... The 38400 Hz crystal frequency is divided by 48 = 800. The microcode execution time is 800 instructions per second (an 800 IPS machine). Bernhard That's one small step for a man - one giant leap for mankind. |
|||
07-17-2016, 11:15 PM
Post: #27
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 11:09 AM)fhub Wrote: So I still don't really understand the benefit of these keys. And BTW, when the stopwatch is running, both keys ("a" and "p") seem to have any other function, but I haven't yet found out what it is - it looks like some kind of 'pause', but showing a different display value. Very mysterious ... When stopwatch is running, pressing "a" or "p" takes the actual stopwatch time as if you had entered it manually and converts it into am or pm time if possible. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
07-18-2016, 06:00 AM
Post: #28
|
|||
|
|||
RE: Pre Release HP01 Running
(07-17-2016 03:43 PM)fhub Wrote: Wouldn't it be better (and more accurate) to just use the PC's timer or realtime clock (RTC) for the emulator's clock and stopwatch instead of a 'virtual' timer? I have decided to use the clock timing from the PC clock updates. It seems a valid approach as the PC timing just becomes the crystal that the watch used. Otherwise the watch section would be as accurate as the timer in the HP-45. The Options Menu -> Timing Adjust is still required because the code execution timing is not linked to the PC clock and even though the time will remain accurate you might see the seconds update appear to skip a digit every 20 seconds or so. This will happen if the display refresh is taking slightly longer than 1 second. Just use the adjuster to speed up the simulation a little bit until you see the timing increment normally. The adjust value is stored in the emulator ini file. The 'a' and 'p' buttons seem to function ok now. New download available. cheers Tony |
|||
07-18-2016, 09:01 AM
Post: #29
|
|||
|
|||
RE: Pre Release HP01 Running
(07-18-2016 06:00 AM)teenix Wrote: I have decided to use the clock timing from the PC clock updates. Yes, everything working fine now - many thanks, Tony! (I hope I didn't annoy you too much with my numerous reports/requests? ) @PANAMATIK: I've made a small QRG for this prototype version, just taking 2 pages of your 'Repair Manual' and modifying the HP-01 picture and the function key list for this prerelease model. Would you mind if I attach this PDF here? (it can directly be used in the context menu of Tony's emulator) Franz |
|||
07-18-2016, 10:08 AM
Post: #30
|
|||
|
|||
RE: Pre Release HP01 Running | |||
07-18-2016, 06:53 PM
Post: #31
|
|||
|
|||
RE: Pre Release HP01 Running
(07-18-2016 09:01 AM)fhub Wrote: @PANAMATIK: You can freely use the HP-01 manual for this purpose. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
07-18-2016, 07:26 PM
Post: #32
|
|||
|
|||
RE: Pre Release HP01 Running
(07-18-2016 06:53 PM)PANAMATIK Wrote: You can freely use the HP-01 manual for this purpose. Ok, thanks! I've attached the small QRG for the HP-01 prerelease version ... Franz |
|||
07-21-2016, 07:49 AM
(This post was last modified: 07-21-2016 07:50 AM by fhub.)
Post: #33
|
|||
|
|||
RE: Pre Release HP01 Running
(07-18-2016 10:08 AM)teenix Wrote: It definitely helped to sort out the problems. Ok Tony, here's the next problem to sort out: I just saw that there's a new update today, and when testing it I saw that the date is completely wrong, it's 1 day and 10 years ahead (showing 22-07-26 today instead of 21-07-16). Then I've tried the previous version and this also had this bug already, I must have overlooked it. Regards, Franz |
|||
07-21-2016, 08:47 AM
Post: #34
|
|||
|
|||
RE: Pre Release HP01 Running
(07-21-2016 07:49 AM)fhub Wrote:(07-18-2016 10:08 AM)teenix Wrote: It definitely helped to sort out the problems. Me too Fixed, new download available. cheers Tony |
|||
07-21-2016, 09:54 AM
(This post was last modified: 07-21-2016 09:55 AM by fhub.)
Post: #35
|
|||
|
|||
RE: Pre Release HP01 Running | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)