Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Npaj Koj Lub Tshuab - Ntxiv Cov Software Xav Tau
- Kauj Ruam 2: Teem Ib puag ncig
- Kauj Ruam 3: Xeem TASM
- Kauj Ruam 4: Hloov Cpm22.bin Cov Ntaub Ntawv
Video: Z80 MBC2 - Rov sau dua CPM2.2 Bios: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Yog tias, zoo li kuv, koj pom koj tus kheej nyob rau hauv txoj haujlwm uas koj yuav tsum tau rov sau dua CP/M bios (2.2) rau koj li MBC2 - tom qab ntawv qhov no yog qhov koj ua.
Hauv kuv qhov xwm txheej kuv xav tshem "WARM BOOT" cov lus txhua lub sijhawm muaj qhov haujlwm lossis thaum koj ua ctrl-c. Kuv tseem yuav ntxiv qee qhov kev hu xov tooj ntxiv rau nyem cov neeg siv LED ntawm qee qhov xwm txheej, piv txwv li yog tias PRN ntaus ntawv tau nkag mus. Txhawm rau debug daim ntawv thov hauv CP/M thiab lwm yam.
Khoom siv
Ib lub tshuab qhov rais kom khiav lub compiler rau. Kuv siv lub tshuab xp virtual tshuab khiav ntawm KVM, vim nws me me heev thiab yuav tsis mus hauv internet. Tab sis nws ua haujlwm nyob rau hauv windows 10 zoo kawg nkaus.
TASM 3.2 z80 compiler, tshawb rau hauv google, koj yuav tsum xaus rau ntawm
Daim ntawv theej ntawm SD daim ntawv zip los ntawm z80-mbc2 home page, thaum lub sijhawm sau nws yog
Kauj Ruam 1: Npaj Koj Lub Tshuab - Ntxiv Cov Software Xav Tau
Thaum koj tau txais koj lub tshuab Windows thiab khiav, theej lossis rub tawm cov ntawv hais hauv "koj yuav xav tau" ntu saum toj no.
Tsim cov npe ua haujlwm ntawm koj lub tshuab, Kuv hais qhia (kom zam kev sau ntau thiab ntaus ntawv) koj tsim cov npe ntawm tsav C, piv txwv li c: / z80mbc. Kuv pom zoo kom koj zam qhov chaw hauv cov npe thiab cov npe kab ntawv ntev. Khaws nws yooj yim.
Tsim cov ntawv tais ceev tseg hauv cov npe no rau TASM cov ntaub ntawv nkag mus, c: / z80mbc / tasm
Tsim daim nplaub tshev rau daim npav SD daim duab kom nkag mus, c: / z80mbc / SD
Txoj cai nyem rau ntawm txhua cov ntaub ntawv thiab rho tawm cov ntsiab lus rau cov npe uas koj tsim saum toj no. Nco ntsoov tias koj rho tasm.zip rau c: / z80mbc / tasm thiab SD Card zip file rau c: / z80mbc / SD
Kauj Ruam 2: Teem Ib puag ncig
Nyob ntawm koj qhov version ntawm windows ua ib qho ntawm cov hauv qab no
Windows 10
Qhib cov ntawv qhia zaub mov los ntawm txoj nyem rau ntawm "PC no" cov khoom los ntawm lub qhov rai tshawb.
Nyem rau ntawm "Advanced system settings", qhov no yuav qhib lub qhov rai hu ua "System Properties" (Koj tseem tuaj yeem tau txais cov khoom hauv lwm txoj hauv kev, tab sis kuv tsis siv windows ntau heev yog li qhov no yog kuv txoj kev!)
Nyem rau ntawm "Environment Variables"
Windows XP OS
Nyem pib khawm, nyem rau ntawm "kuv lub khoos phis tawj", tom qab ntawd koj tuaj yeem nyem cov khoom kom tau txais "cov txheej txheem txheej txheem" (Koj kuj tseem tuaj yeem nkag mus rau cov khoom hauv lwm txoj hauv kev, tab sis kuv tsis siv lub qhov rais ntau heev yog li qhov no yog kuv txoj kev!)
Nyem rau ntawm Advanced Tab
Nyem rau ntawm "Environment Variables"
Thaum koj muaj Qhov Hloov Pauv Ib puag ncig ntawm lub vijtsam koj yuav tsum ua ob yam;
Ntxiv qhov hloov pauv tshiab
Nyob rau sab saum toj ntawm lub qhov rais, hauv qab "cov neeg siv hloov pauv rau …"
Nyem Tshiab
rau Hom Npe hauv TASMTABS
rau Tus Nqi Hom hauv c: / z80mbc / tasm
Hloov kho PATH qhov sib txawv
Hauv qab ntu ntawm lub qhov rais, hauv qab "System Variables"
xaiv (ntsiab lus) Txoj kev, tom qab ntawd nyem Kho kom raug
Thaum kawg ntawm cov ntsiab lus uas twb muaj lawm ntxiv; c: / z80mbc / tasm
(Tsis txhob hnov qab cov nyuv ib nrab thaum pib!)
Tam sim no koj yuav tsum rov pib kho lub computer rau cov kev ntxiv no kom siv tau.
Kauj Ruam 3: Xeem TASM
Tom qab koj rov pib dua koj lub tshuab Windows.
Qhib daim ntawv cog lus CMD;
Qhov rai 10
Nyem rau Windows icon, ntaus cmd. Thaum nws zoo li App nyob rau sab saum toj ntawm lub npov tshawb fawb, ob npaug nyem nws lossis nyem qhib.
Windows XP OS
Nyem rau Windows START icon, nyem Run. Hauv lub npov uas tshwm zoo li cmd thiab nyem ok.
Hloov Cov Ntawv Teev Npe rau cov npe kab ntawv
Hom: cd / z80mbc / sd / src / CPM_22_Custom_BIOS
Yog tias koj ua cov npe ntawm daim nplaub tshev no koj yuav tsum tau txais:
C: / z80mbc / sd / src / CPM_22_Custom_BIOS> dir
Ntim hauv tsav C tsis muaj daim ntawv lo. Volume Serial Number is D426-9C7C Directory of C: / z80mbc / sd / src / CPM_22_Custom_BIOS 2020-10-19 11:38. 2020-10-19 11:38.. 2020-10-17 13:30 5, 597 a.bin 2020-10-17 13:30 44, 492 BIOS CPM22 - S030818 -R040219.asm 2020-10-17 13: 30 47, 076 BIOS CPM22 - S030818 -R140319.asm 2020-10-17 13:30 44, 649 BIOS CPM22 - S030818.asm 2020-10-17 13:30 115, 962 cpm22_Z80MBC2.asm 5 Cov ntaub ntawv (s) 257, 776 bytes 2 Dir (s) 5, 575, 921, 664 bytes pub dawb
Tam sim no koj tau npaj los sim yog tias koj tuaj yeem sib sau ua ke cpm22.bin cov ntaub ntawv, pom tseeb koj tseem tsis tau hloov kho ib qho ntawm cov cai tam sim no. Tab sis qhov ntawd yog koj li ua.
Hint: cov ntaub ntawv cpm22_Z80MBC2.asm yog yuav pib nrhiav, nws suav nrog ib lossis ntau ntawm lwm cov ntaub ntawv, ib txwm BIOS CPM22 - S030818 -R140319.asm. Siv cov ntawv nyeem uas koj nyiam, txawm tias sau.exe lossis notepad.exe zoo
Ntaus cov hauv qab no los sau BIOS:
tasm -b -g3 -80 cpm22_Z80MBC2.asm cpm22.bin
Yog tias txhua yam zoo, nws yuav tsum hais:
TASM Z80 Assembler. Version 3.2 Cuaj hlis, 2001. Cai (C) 2001 Squak Valley Software tasm: dhau 1 tiav. tasm: dhau 2 ua tiav. tasm: Tus lej yuam kev = 0
Yog tias nws ua tsis tau, rov qab mus thiab txheeb xyuas koj ib puag ncig txoj hauv kev thiab TASMTAB teeb tsa.
Yog tias koj txiav txim siab hloov pauv ib yam dhau ntawm BIOS, nco ntsoov txheeb xyuas cov ntaub ntawv cpm22_z80MBC2.asm. Nyob ze rau saum toj kawg nkaus yog qee cov kab ntsig ntsig txog lub hom phiaj ntawm binary koj ua, los ntawm lub neej ntawd lawv zoo li no:
;-----------------------------------------------------------------------
; Z80-MBC2; ------------------------------------------------------ ------------------------- iLoadMode.equ 0; Teem rau 1 rau hom iLoad (rau kev sim), teeb rau 0 rau taug qab 0 tsim cov duab,; teeb tsa 2 rau cpm22.bin binary cov ntaub ntawv tsim tawm; --------------------------------------- --------------------------------; Koj yuav tsum tau hloov iLoadMode rau 2 rau siv nrog cpm22.bin, yog tias koj tsis ua nws yuav tsis khau raj txhua.
Kauj Ruam 4: Hloov Cpm22.bin Cov Ntaub Ntawv
Txog ntawm no koj muaj kev ua haujlwm Tasm teeb tsa thiab cov ntaub ntawv rau koj li CP/M 2.2 Bios.
Tam sim no koj tuaj yeem hloov kho cov ntaub ntawv los ua kom tau raws li koj xav tau
Kauj ruam kawg yog kom tau z80-mbc2 rau khau raj qhov tshiab ntawm software. Yog tias koj nyeem dhau cov lus hauv qhov chaws koj yuav paub tias muaj ntau txoj hauv kev los sim cov cai no, piv txwv li koj tuaj yeem tsim cov ntawv hex thiab siv qhov kev xaiv iload hauv mbc2 ntawv qhia zaub mov kom thauj khoom thiab khiav nws. Txawm li cas los xij txoj hauv kev no yog qhov zoo tshaj plaws los ntsuas qhov kev txhim kho tshiab rau koj mbc2. Tej zaum ib qho piv txwv ntawm Mp/m.
Txhawm rau sim peb cov ntaub ntawv cpm22.bin tshiab, kuv ua kom yooj yim. Tsuas yog luam nws los ntawm qhov uas twb muaj lawm ntawm koj daim npav SD thiab sim khau raj ntawm nws! Ua ntej koj hloov qhov qub - TSHUAJ COPY. Nws txuag lub sijhawm kom muaj thawj daim ntawv rau tes.
Qhov ntawd yog txhua yam, zoo siab BIOS tshiab!
Pom zoo:
Z80-MBC2 Programming Atmega32a: 6 Cov Kauj Ruam
Z80-MBC2 Programming Atmega32a: Ua ntej koj tuaj yeem siv z80-MBC2, tom qab tsim nws, koj yuav tsum tau teeb tsa Atmeg32. Cov lus qhia no qhia koj yuav siv li cas pheej yig arduino mini ua tus programmer kom tso cov cai
Z80-mbc2 Z80 Code Flash User LED: 3 Kauj Ruam
Z80-mbc2 Z80 Code Flash User LED: Qhov no yog piv txwv cov neeg siv LED program sau hauv Z80 assembler rau z80-mbc2 computer.Kuv tau ua qhov kev sim no thiab tshuaj xyuas rau kuv, qhov no yog kuv thawj Z80 program rau ntau dua 35 xyoo.Enjoy
Siv ESP32/VGA32 Terminal rau Z80-MBC2: 7 Cov Kauj Ruam
Siv ESP32/VGA32 Terminal rau Z80-MBC2: Yuav tsim thiab teeb tsa ANSI Terminal software ntawm ESP32/VGA32 board.Then txuas nws mus rau Z80-MBC2 board
Yuav Ua Li Cas Sau Ntawv Sau-Tiv Thaiv USB Ntaus: 4 Cov Kauj Ruam
Yuav Ua Li Cas Sau Ntawv Sau-Tiv Thaiv USB Ntaus: Thaum koj sim format koj lub USB cia ntaus ntawv, koj yuav tau txais cov lus yuam kev hauv qab no: " Lub disk raug sau tiv thaiv ". Tsis txhob txhawj xeeb nws tsis txhais tau tias koj kis tus kab mob lossis malware. Txhawm rau daws qhov teeb meem koj tsuas yog muaj
Ib qho yooj yim los tsim Khoos Phis Tawj Hauv Tsev: Z80-MBC2 !: 9 Kauj Ruam (nrog Duab)
Ib qho yooj yim los tsim Khoos Phis Tawj Hauv Tsev: Z80-MBC2!: Yog tias koj xav paub seb lub khoos phis tawj ua haujlwm li cas thiab cuam tshuam nrog "yam khoom sab nraud", niaj hnub no muaj ntau lub laug cam npaj ua si zoo li Arduino lossis Raspberry thiab ntau ntxiv. Tab sis cov laug cam no muaj txhua yam zoo ib yam "txwv" … lawv nyob zoo