Post Reply 
Strange print behavior with HP50 and HP82240B
05-20-2020, 09:17 PM (This post was last modified: 05-20-2020 09:27 PM by cahlucas.)
Post: #20
RE: Strange print behavior with HP50 and HP82240B
(05-20-2020 04:28 AM)DavidM Wrote:  
(05-19-2020 05:52 PM)cahlucas Wrote:  The strings to be printed are never longer than 23 characters. ...

What happens if you run the following code?

Code:
::
   CK0NOLASTWD

   "ABCDEFGHIJKLMNOPQRSTUVWX"
   BINT4 #>CHR >T$

   BINT8 ZERO_DO
      DUP PTR 4C0D0
   LOOP

   DROP
;

Are any lines split, or do you simply see "A..X" printed in sequence on 8 separate lines?

Using my 50g/82240B, I see the lines all intact with no splits/omissions/additions. I tried this using a larger value for the loop count (15), and also with DELAY at 1.05 and 3.6. All tests showed the same results (full 24-character lines with no splits).

Are you able to provide a short sample of code that shows the problem? Is there some pattern of characters which makes a difference?

Dear DavidM,
Only the first line of the first 8 is split between the J and the K, the rest is OK. I have given the most important code before, I have listed the patterns to be printed below. As I mentioned earlier, printing in OCT mode is particularly problematic. The given patterns are of course an example. As indicated earlier, the heading is problematic especially in OCT mode, and sometimes also in DEC mode, see the example I gave earlier. I hope that I have informed you sufficiently. Sincerely, Karel.

Code:

HEX:
Input:   "12 34 56 78 90 12 34 56"
Output:   12 34 56 78 90 12 34 56

DEC:
Input:  "1311768467284833366"
Output:  1311768467284833366

OCT:
Input:      "1 1 0 6 4 2 5 4 7 4"
          "2 2 0 0 4 4 3 2 1 2 6"
Output:      1 1 0 6
         4 2 5 4 7 4
           2 2 0 0 4
         4 3 2 1 2 6

BIN:
Input:         "1 0010 0011 0100"
            "0101 0110 0111 1000"
            "1001 0000 0001 0010"
            "0011 0100 0101 0110"
Output:         1 0010 0011 0100
             0101 0110 0111 1000
             1001 0000 0001 0010
             0011 0100 0101 0110

I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Strange print behavior with HP50 and HP82240B - cahlucas - 05-20-2020 09:17 PM



User(s) browsing this thread: 1 Guest(s)