Skip to content

EMLommers/MSX_Assembly

Repository files navigation

New Assembly Files for MSX, Z80 | 2022/2023

vrcheck.asm
Check amount of VRAM, MSX 1 and up. 16Kbytes up to 512Kbytes, TMS9918A, TMS9928A, TMS9929A, V9938, V9948, V9958, V9978
cpuspeed.asm
Check speed 3.57Mhz, 7.13Mhz, R800 (60hz only)
speedf.asm
Speed of MSX. Value of CPU * 3.57 Mhz, Normal, 7Mhz and R800(OpenMSX) tested. if EMULAT=1 you are in OpenMSX (50 & 60 hz). Using F bit of status register 0
speedf.bin
Build of speedf.asm

Build at &HC000, xcution at same address ..

CPU = &HC092 -> Result R Only
EMULAT = &HC08E -> DOESNT WORK YET
TURBO = &HC08F -> Variable 0,1,2 R800, 0= Z80, 1&2 = R800, W only, used when xcution
RESULT = &HC090 + 1 -> real result, CPU and EMULAT are based on this result, R only
VDP = &HC07A -> routine to toggle 50/60 hz, X only

speedf2.bin
Build of speedf2.asm

Build at &HC000, xcution at same address ..
NTSC= &hC082: 0/2/128/130, W only
TURBO = &HC084 -> Variable 0,1,2 R800, 0= Z80, 1&2 = R800, W only, used when xcution
RESULT = &HC085 + 1 -> real result, CPU and EMULAT are based on this result, R only
VDP = &HC06F -> routine to toggle 50/60 hz, X only

USAGE:
10 bload "speedf2.bin"
20 defusr=&hc000:a=usr(0)
30 print peek(&hc085)
30 goto 20

CTRL-STOP to break
You should see multiple variables on real machine and stable on emulator

About

MSX Z80 Assembly Routines New

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published