USAGE.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. This zipfile contains:
  2. - Binaries resulting from the build
  3. vdptest.cas
  4. vdptest.bas
  5. vdptest.bin
  6. vdptest1.dsk (1-side 360K floppy image)
  7. vdptest2.dsk (2-side 720K floppy image)
  8. - Source code
  9. vdptest.asm
  10. sysdefs.equ.asm
  11. main.code.asm
  12. main.bss.asm
  13. im2setup.equ.asm
  14. im2setup.code.asm
  15. frametime.code.asm
  16. frametime.bss.asm
  17. loadertpl.py (generates BASIC loader for .cas or .dsk as appropriate)
  18. - Documentation (this file)
  19. USAGE.txt
  20. - Build makefile
  21. Makefile
  22. - Auxiliary Python programs used to build the output
  23. bas2cas.py
  24. raw2cas.py
  25. raw2bin.py
  26. - Blank disk images
  27. blank1.dsk.gz (1-side 360K)
  28. blank2.dsk.gz (2-side 720K)
  29. Requisites to build:
  30. To build using Makefile, you need GNU make.
  31. To assemble, you need Pasmo.
  32. To create the .cas image or the .bin disk file, you need Python 3 and cat.
  33. To automatically build the disk images, you need mtools and gzip.
  34. To create the .zip file, you additionally need rm and zip.
  35. To clean up the generated files, you need rm.
  36. Building generates some auxiliary files:
  37. vdptestc.raw
  38. vdptestd.raw
  39. loader.bas
  40. loader.cas
  41. These files are not necessary once the build is complete, but re-running
  42. 'make' may cause them to be generated again.
  43. Usage:
  44. To build everything, type: make
  45. Other targets: make zip, make bas, make bin, make cas, make dsk, make clean
  46. To clean the directory and leave only the build requisites and sources,
  47. type: make clean
  48. To run it in a real MSX, you can use this with a cassette recorder or a
  49. floppy drive.
  50. Currently it only runs on a 16K+ machine. If run from floppy, disable the
  51. second drive by keeping CTRL pressed during boot.
  52. Usage with a cassette recorder:
  53. vdptest.cas is usable by an emulator, but in order to write it to tape,
  54. you need to convert it first to .wav format, then play that .wav while
  55. you record in the cassette recorder.
  56. Tools that can convert the .cas file to .wav are not included. You can
  57. use cas2wav from Vincent Van Dam's castools, or imgtool which comes with
  58. MAME/MESS.
  59. castools can be found here: https://github.com/joyrex2001/castools
  60. With cas2wav:
  61. cas2wav vdptest.cas vdptest.wav
  62. With imgtool (untested):
  63. imgtool get fmsx_cas vdptest.cas vdptest.wav
  64. Either use vdptest.cas and cas2wav to generate a tape, or vdptest.bas
  65. Usage with a floppy drive:
  66. Write vdptest.bas and vdptest.bin to a floppy and use RUN"vdptest.bas"
  67. The pre-built disk images vdptest1.dsk and vdptest2.dsk are provided for
  68. convenience.