home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / games / mzx / FIX < prev    next >
Text File  |  1995-09-13  |  1KB  |  91 lines

  1. |   MZX 1.10 Bug Fix
  2. |
  3. |   This command script fixes the MZX 1.10 snapshot load bug which was
  4. |   introduced in the binary release by omitting part of the BASIC
  5. |   source.
  6. |
  7. |   To install, *EXEC this file after the filer has seen MZX.
  8. |   (Alternatively, set the file type to &FFE and run.)
  9. |   This file need only be executed once.
  10. |
  11. BASIC
  12. LOAD "Z80:!RunImage"
  13. 51REM Patch level 1 (3/5/94)
  14. 245PROCvars
  15. 4000DEF PROCvars
  16. 4010B=1
  17. 4020C=0
  18. 4030D=3
  19. 4040E=2
  20. 4050H=5
  21. 4060L=4
  22. 4070A=7
  23. 4080IXL=8
  24. 4090IXH=9
  25. 4100IYL=10
  26. 4110IYH=11
  27. 4120SPWD=12
  28. 4130auxastore=16
  29. 4140auxfstore=20
  30. 4150auxdestore=24
  31. 4160auxbcstore=28
  32. 4170auxhlstore=32
  33. 4180int_en_flg=36
  34. 4190int_mode=40
  35. 4200int_reg=44
  36. 4210mzxstate=48
  37. 4220wimpmode=52
  38. 4230bordstate=56
  39. 4240speedstate=60
  40. 4250rfshstate=64
  41. 4260rfshcount=68
  42. 4270wimpspkr=72
  43. 4280 
  44. 4290BC=&10
  45. 4300DE=&11
  46. 4310HL=&12
  47. 4320AF=&13
  48. 4330SP=&14
  49. 4340IX=&15
  50. 4350IY=&16
  51. 4360 
  52. 4370C_NZ=&20
  53. 4380C_Z=&21
  54. 4390C_NC=&22
  55. 4400C_C=&23
  56. 4410C_PO=&24
  57. 4420C_PE=&25
  58. 4430C_PL=&26
  59. 4440C_MI=&27
  60. 4450 
  61. 4460F_Z=&40
  62. 4470F_C=&01
  63. 4480F_V=&04
  64. 4490F_S=&80
  65. 4500 
  66. 4510mzx_sounden=1
  67. 4520mzx_multi=2
  68. 4530mzx_diag=4
  69. 4540mzx_mode9=8
  70. 4550mzx_freeze=16
  71. 4560mzx_started=32
  72. 4570mzx_speedcon=64
  73. 4580mzx_realjoy=128
  74. 4590mzx_keyenab=256
  75. 4600mzx_haltwait=512
  76. 4610 
  77. 4620membase=10
  78. 4630regbase=11
  79. 4640z80pc=12    : REM ** ABSOLUTE ** PC address
  80. 4650flags=9
  81. 4660scratch=4
  82. 4670regcache=8
  83. 4680regs2=7
  84. 4690tablebase=6
  85. 4700ovfstore=5
  86. 4710debug=FALSE
  87. 4720ENDPROC
  88. SAVE "Z80:!RunImage"
  89. QUIT
  90.