diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-04-10 13:42:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-04-10 13:42:00 -0400 |
| commit | 028b3f4141bbbd3d8bf6450c15406ada28b50bcb (patch) | |
| tree | fa8411acef15200161e11d63c1942d80e28a3f9f /cmpen472hw10_McDonnell/Sources | |
| parent | 964eb5fd879b5ca4b86efd56e13027989705bf0e (diff) | |
HW10: Fixed Square Wave 125Hz
Diffstat (limited to 'cmpen472hw10_McDonnell/Sources')
| -rw-r--r-- | cmpen472hw10_McDonnell/Sources/main.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmpen472hw10_McDonnell/Sources/main.asm b/cmpen472hw10_McDonnell/Sources/main.asm index ae90e3e..1894425 100644 --- a/cmpen472hw10_McDonnell/Sources/main.asm +++ b/cmpen472hw10_McDonnell/Sources/main.asm @@ -723,7 +723,7 @@ isGq2 cmpb #'2' ; Compare B to '2' jsr WriteString ; Write string ldaa #'q' ; Load 'q' for square staa waveType ; Save A to waveType - ldd #4 ; Load 4 into D + ldd #8 ; Load 8 into D std increment ; Set Increment to 4 -> 125Hz jsr GenWave ; Jump to GenWave ldx #doneWave ; Load the address of doneWave |
