-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MC68EZ328: Allow selection and use of Port A On EZ and VZ, PASEL is reserved, and it was hard-coded to 0 (disabled). However, the user manual notes: "In an 8-bit-only system, you can configure these pins as a parallel I/O port by writing a 1 to the WDTH8 bit of the SCR." According to the MC68328 datasheet, something similar should be needed to activate its Port B, but that change is not included here. Its PBSEL is exposed, so there is likely no difference in emulation. * MC68EZ328: Fuller implementation of timer The existing implementation left the timer counter (TCN) at zero until the compare value (TCMP) was reached. However, some software relies on reading the TCN values to measure elapsed time. The timer counter (TCN) now increments on every timer tick.
- Loading branch information
Showing
2 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters