Skip to content

ProDOS 2.4.x Default Serial Settings Prevent Printing From BASIC #58

@nick3092

Description

@nick3092

Description

While messing around with my ImageWriter II and //c tonight, I found I was having a difficult time printing anything from the DOS/BASIC prompt (or from within a BASIC program designed to print some output) by doing a PR#1 and typing 'list' or 'cat' with any of the 2.4.x versions. The printer would just spit out a line of garbage, then feed a sheet, line of garbage, etc. I loaded up a 2.0.3 image, and printing worked fine as expected with a simple PR#1.

I booted 2.4.2 again, and this time did a PR#1, and then started using Ctrl-I commands to reset the port to 9600 8n1. Then I was able to print again. Albeit in a much larger font than normal. So it appears the default port settings were changed from the original ProDOS settings, which usually kept slot 1 9600 8n1.

Expected Behavior

When typing PR#1 from a prompt, the printer should engage with no additional settings needed. The printer should print in normal, default font.

Actual Behavior

Without modifying the serial port settings, the printer spits out a line of garbage, then feeds a page, line of garbage, feeds a page, etc. After adjusting the serial port settings using Ctrl-I, it will print. But the font is much larger than usual.

Possible Fix

Change the default slot 1 serial settings back to the way they functioned in 2.0.3 and earlier.

Steps to Reproduce

issue impacts Apple IIc real-hardware and MAME emulator

  1. Boot a ProDOS 2.4.x image into BASIC
  2. Type PR#1
  3. Type CAT and press RETURN

On Apple IIc

  • Type PR#1
  • Press CTRL-I
  • At the ? prompt, type: 0D to set the port to 8 data and 1 stop bit.
  • Type CAT and press RETURN

Context

This bug prevented printing from within a BASIC program, as well as trying to print off a listing of a basic program to troubleshoot.

Your Environment

Hardware:

Apple //c ROM 255, ImageWriter II, Floppy EMU

ProDOS8 version:

Any 2.4.x version. Tested the 2.5 alpha just out of curiosity and the issue occurs there as well.

Non-Operating System release software being used:

None, just printing from BASIC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions