Skip to content

Commit

Permalink
New firmware releases R3.19 (LM80C) & R1.06 (LM80C 64K)
Browse files Browse the repository at this point in the history
  • Loading branch information
leomil72 committed Jan 19, 2021
1 parent 8e09f50 commit 054b9ec
Show file tree
Hide file tree
Showing 20 changed files with 26,176 additions and 0 deletions.
93 changes: 93 additions & 0 deletions 12-Home computer/LM80C-firmware-r3.19.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
; ------------------------------------------------------------------------------
; LM80C - FIRMWARE - R3.19
; ------------------------------------------------------------------------------
; The following code is intended to be used with LM80C Z80-based computer
; designed by Leonardo Miliani. More info at
; www DOT leonardomiliani DOT com
; ------------------------------------------------------------------------------
; Coding/Editing/Compiling:
; Original init code for MC68B05 by Grant Searle
; Original SIO/CTC/PIO init code by Mario Blunk
; NASCOM BASIC originally modified by Gran Searle
; Code modified and adapted for LM80C by Leonardo Miliani
;
; Edited with Visual Studio Code
;
; Compiled with SjASMPlus assembler 1.18.0
; https://github.com/z00m128/sjasmplus
; ------------------------------------------------------------------------------
; Copyright notes:
; Parts of the code (c) Grant Searle - free for non commercial use
; Please include this advice and the note to the attribution of the original
; version to Grant Searle if you intend to redistribuite it
; http://searle.hostei.com/grant/index.html
; eMail: [email protected]
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; Parts of the code (c) Mario Blunk
; http://www.train­z.de
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; NASCOM ROM BASIC Ver 4.7, (C) 1978 Microsoft
; Scanned from source published in 80-BUS NEWS from Vol 2, Issue 3
; (May-June 1983) to Vol 3, Issue 3 (May-June 1984)
; Adapted for the freeware Zilog Macro Assembler 2.10 to produce
; the original ROM code (checksum A934H). PA
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; The following code is intended to be used with LM80C Z80-based computer
; designed by Leonardo Miliani. Code and computer schematics are released under
; the therms of the GNU GPL License 3.0 and in the form of "as is", without no
; kind of warranty: you can use them at your own risk.
; You are free to use them for any non-commercial use: you are only asked to
; maintain the copyright notices, include this advice and the note to the
; attribution of the original version to Leonardo Miliani, if you intend to
; redistribuite them.
; https://www.leonardomiliani.com
;
; Please support me by visiting the following links:
; Main project page: https://www.leonardomiliani.com
; Schematics and code: https://github.com/leomil72/LM80C
; Videos about the computer: https://www.youtube.com/user/leomil72/videos
; Hackaday page: https://hackaday.io/project/165246-lm80c-color-computer
; ------------------------------------------------------------------------------
; output binary file
OUTPUT "LM80C-firmware-r3.19.bin"

; set computer model
DEFINE LM80C

; set firmware version
DEFINE VERSION "3.19"

; define shorter VDP_DAT load instruction and additional delay for VDP access
DEFINE LD_VDP_DAT ld C,VDP_DAT
DEFINE LM64K_NOP

; ------------------------------------------------------------------------------
; include the latest version of the bootloader: this sets up the address aliases,
; configure the hardware, checks if warm or cold startup and loads the BASIC interpreter
INCLUDE "../include/bootloader/bootloader-1.06.asm"

; incude the latest version of the VDP module
INCLUDE "../include/vdp/vdp-1.4.asm"

; incude the latest version of the PSG module
INCLUDE "../include/psg/psg-1.1.asm"

; include the latest version of the LM80C BASIC interpreter
INCLUDE "../include/basic/basic-1.04.asm"

; include utils
INCLUDE "../include/utils/utils-r11.asm"

; include the latest version of the font sets
INCLUDE "../include/vdp/6x8fonts-r16.asm"
INCLUDE "../include/vdp/8x8fonts-r18.asm"
INCLUDE "../include/vdp/logo-fonts.asm"

; include workspace equates
INCLUDE "../include/workspace/workspace-r1.0.asm"

; END OF ASSEMBLY SOURCE
;-------------------------------------------------------------------------------
96 changes: 96 additions & 0 deletions 12-Home computer/LM80C_64K-firmware-r1.05.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
; ------------------------------------------------------------------------------
; LM80C 64K - FIRMWARE - R1.05
; ------------------------------------------------------------------------------
; The following code is intended to be used with LM80C Z80-based computer
; designed by Leonardo Miliani. More info at
; www DOT leonardomiliani DOT com
; ------------------------------------------------------------------------------
; Coding/Editing/Compiling:
; Original init code for MC68B05 by Grant Searle
; Original SIO/CTC/PIO init code by Mario Blunk
; NASCOM BASIC originally modified by Gran Searle
; Code modified and adapted for LM80C by Leonardo Miliani
;
; Edited with Visual Studio Code
;
; Compiled with SjASMPlus assembler 1.18.0
; https://github.com/z00m128/sjasmplus
; ------------------------------------------------------------------------------
; Copyright notes:
; Parts of the code (c) Grant Searle - free for non commercial use
; Please include this advice and the note to the attribution of the original
; version to Grant Searle if you intend to redistribuite it
; http://searle.hostei.com/grant/index.html
; eMail: [email protected]
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; Parts of the code (c) Mario Blunk
; http://www.train­z.de
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; NASCOM ROM BASIC Ver 4.7, (C) 1978 Microsoft
; Scanned from source published in 80-BUS NEWS from Vol 2, Issue 3
; (May-June 1983) to Vol 3, Issue 3 (May-June 1984)
; Adapted for the freeware Zilog Macro Assembler 2.10 to produce
; the original ROM code (checksum A934H). PA
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; The following code is intended to be used with LM80C Z80-based computer
; designed by Leonardo Miliani. Code and computer schematics are released under
; the therms of the GNU GPL License 3.0 and in the form of "as is", without no
; kind of warranty: you can use them at your own risk.
; You are free to use them for any non-commercial use: you are only asked to
; maintain the copyright notices, include this advice and the note to the
; attribution of the original version to Leonardo Miliani, if you intend to
; redistribuite them.
; https://www.leonardomiliani.com
;
; Please support me by visiting the following links:
; Main project page: https://www.leonardomiliani.com
; Schematics and code: https://github.com/leomil72/LM80C
; Videos about the computer: https://www.youtube.com/user/leomil72/videos
; Hackaday page: https://hackaday.io/project/165246-lm80c-color-computer
; ------------------------------------------------------------------------------
; set name for binary output file
OUTPUT "LM80C-64K-firmware-r1.05.bin"

; set computer model
DEFINE LM80C64K

; set firmware version
DEFINE VERSION "1.05"

; define shorter VDP_DAT load instruction and additional delay for VDP access
DEFINE LD_VDP_DAT dec C
DEFINE LM64K_NOP nop

; ------------------------------------------------------------------------------
; include the latest version of the bootloader: this sets up the address aliases,
; configure the hardware, checks if warm or cold startup and loads the BASIC interpreter
INCLUDE "../include/bootloader/bootloader-1.06.asm"

; incude the latest version of the VDP module
INCLUDE "../include/vdp/vdp-1.4.asm"

; incude the latest version of the PSG module
INCLUDE "../include/psg/psg-1.1.asm"

; include the latest version of the LM80C 64K BASIC interpreter
INCLUDE "../include/basic/basic-1.04.asm"

; include utils
INCLUDE "../include/utils/utils-r11.asm"

; include the latest version of the font sets
INCLUDE "../include/vdp/6x8fonts-r16.asm"
INCLUDE "../include/vdp/8x8fonts-r18.asm"
INCLUDE "../include/vdp/logo-fonts.asm"

; include ROM/RAM switcher
INCLUDE "../include/switcher/switcher-r11.asm"

; include workspace equates
INCLUDE "../include/workspace/workspace-r1.0.asm"

; END OF ASSEMBLY SOURCE
;-------------------------------------------------------------------------------
6 changes: 6 additions & 0 deletions 12-Home computer/changelog-64k.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ for the LM80C 64K Color Computer. More info at www DOT leonardomiliani DOT com

P.S.: for the changelog of the LM80C Color Computer see the corresponding changelog file

---------------------------------------------------------------------------------------------
1.05 - 20210119
- Better serial management with RTS-driven chars receiveing
- Fixed a bug introduced in the previous releases that lead to chars that disappearing
during text printing/scrolling

---------------------------------------------------------------------------------------------
1.04 - 20210105

Expand Down
7 changes: 7 additions & 0 deletions 12-Home computer/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ for the LM80C Color Computer. More info at www DOT leonardomiliani DOT com

P.S.: for the changelog of the LM80C 64K Color Computer see the corresponding changelog file

---------------------------------------------------------------------------------------------
3.19 - 20210119

- Better serial management with RTS-driven chars receiveing
- Fixed a bug introduced in the previous releases that lead to chars that disappearing
during text printing/scrolling

---------------------------------------------------------------------------------------------
3.18 - 20210105

Expand Down
File renamed without changes.
Binary file added Rom/LM80C-64K-firmware-r1.05.bin
Binary file not shown.
Binary file added Rom/LM80C-firmware-r3.19.bin
Binary file not shown.
Loading

0 comments on commit 054b9ec

Please sign in to comment.