Menu

#2 Initialize default output device (DEVICE=$b7) to $00 for E:

3.7
closed
None
2023-10-29
2023-04-11
Peter Dell
No

The Action runtime library uses the zero page address $b7 as DEVICE variable with the number of CIO IOCB block used as default output channel. It assumes that $b7 is initialized to $00 when the runtime starts, but that is not guaranteed when an Action! program is not the first program loaded from a clean DOS. Therefore the should be initialized explicitly.

1 Attachments

Discussion

  • Peter Dell

    Peter Dell - 2023-04-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -The Action runtime uses the zero page address $b7 as DEVICE variable with the number of CIO IOCB block used as default output channel. It assume that $b7 is initialized to $00 when the runtime starts, but that is not guaranteed when an Action! program is not the first program loaded from a clean DOS. Therefore the should be initialized explicitly.
    +The Action runtime library uses the zero page address $b7 as DEVICE variable with the number of CIO IOCB block used as default output channel. It assume that $b7 is initialized to $00 when the runtime starts, but that is not guaranteed when an Action! program is not the first program loaded from a clean DOS. Therefore the should be initialized explicitly.
    
     
  • Peter Dell

    Peter Dell - 2023-10-29
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -The Action runtime library uses the zero page address $b7 as DEVICE variable with the number of CIO IOCB block used as default output channel. It assume that $b7 is initialized to $00 when the runtime starts, but that is not guaranteed when an Action! program is not the first program loaded from a clean DOS. Therefore the should be initialized explicitly.
    +The Action runtime library uses the zero page address $b7 as DEVICE variable with the number of CIO IOCB block used as default output channel. It assumes that $b7 is initialized to $00 when the runtime starts, but that is not guaranteed when an Action! program is not the first program loaded from a clean DOS. Therefore the should be initialized explicitly.
    
     
  • Peter Dell

    Peter Dell - 2023-10-29

    Fixed with 1fab8ffc5ad0d3ef7bd5a5782a11b0ac60becd49

     
  • Peter Dell

    Peter Dell - 2023-10-29
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB