1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198
|
<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.52
from ../vice.texi on 7 January 2006 -->
<TITLE>VICE Manual - 8 Snapshots</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="vice_1.html">first</A>, <A HREF="vice_7.html">previous</A>, <A HREF="vice_9.html">next</A>, <A HREF="vice_16.html">last</A> section, <A HREF="vice_toc.html">table of contents</A>.
<P><HR><P>
<H1><A NAME="SEC106" HREF="vice_toc.html#TOC106">8 Snapshots</A></H1>
<P>
Every VICE emulator has a built-in snapshot feature, that saves the
complete emulator state into one file for later use.
You can therefore save the emulator state - including the state of
the game you are playing for example - in a single file.
</P>
<H2><A NAME="SEC107" HREF="vice_toc.html#TOC107">8.1 Snapshot usage</A></H2>
<P>
A snapshot is one file containining the complete emulator state. A
snapshot file can be generated by selecting the "Save snapshot"
command at any time. This will pop up a requester from which you can
specify whether the snapshot should also contain the disk and ROM
status.
</P>
<P>
A snapshot file can be used to restore the emulator state by selecting
the <CODE>load snapshot</CODE> menu entry at any time.
Unfortunately attached ROM images/cartridges are only supported in the VIC20,
the PET and the CBM-II emulators at this time.
</P>
<P>
The memory configuration of the emulator is saved in the snapshot file as
well. This configuration is restored when the snapshot is loaded.
</P>
<P>
A quick snapshot can now be made by pressing the <CODE>M-F11</CODE> key and
reloaded by pressing the <CODE>M-F10</CODE> key.
</P>
<H2><A NAME="SEC108" HREF="vice_toc.html#TOC108">8.2 Snapshot format</A></H2>
<P>
A snapshot file consists of several modules of mostly different types.
Each module has a name and saves the state of an entity like a CIA, the CPU,
or the memory.
</P>
<H3><A NAME="SEC109" HREF="vice_toc.html#TOC109">8.2.1 Emulator modules</A></H3>
<P>
This section lists the modules that are contained in each of the
emulators snapshot files.
</P>
<H4><A NAME="SEC110" HREF="vice_toc.html#TOC110">8.2.1.1 x64 modules</A></H4>
<P>
The modules in the x64 emulator are:
</P>
<TABLE BORDER>
<TR><TD>Name</TD>
<TD>Type</TD>
<TD>Description</TD>
</TR>
<TR><TD>MAINCPU</TD>
<TD>6502</TD>
<TD>The Main CPU - although it is a 6510, only the 6502 core is saved here</TD>
</TR>
<TR><TD>C64MEM</TD>
<TD>Memory</TD>
<TD>Holds the RAM contents of the C64. Also the CPU I/O register contents are saved here.</TD>
</TR>
<TR><TD>C64ROM</TD>
<TD>ROM images</TD>
<TD>Dump of the system ROMs</TD>
</TR>
<TR><TD>VIC-II</TD>
<TD>656*</TD>
<TD>The VIC-II of the C64/128</TD>
</TR>
<TR><TD>CIA1</TD>
<TD>6526</TD>
<TD>The CIA for the interrupts and the keyboard</TD>
</TR>
<TR><TD>CIA2</TD>
<TD>6526</TD>
<TD>The CIA for the userport, IEC-bus and RS232.</TD>
</TR>
<TR><TD>SID</TD>
<TD>6581</TD>
<TD>The SID sound chip of the C64/C128</TD>
</TR>
<TR><TD>REU*</TD>
<TD></TD>
<TD>The RAM Extension Unit state (optional)</TD>
</TR>
<TR><TD>ACIA1</TD>
<TD>6551</TD>
<TD>An ACIA (RS232 interface) at $DE00 (optional)</TD>
</TR>
<TR><TD>TPI</TD>
<TD>6525</TD>
<TD>A TPI at $DF00 for a parallel IEEE488 interface (optional)</TD>
</TR>
<TR><TD>*</TD>
<TD>Drive modules</TD>
<TD>The emulated drive(s) have their own modules see section <A HREF="vice_8.html#SEC115">8.2.1.6 Drive modules</A></TD>
</TR></TABLE>
<P>
Some of the modules are optional and are only saved if the specific
feature is enabled at save-time. If the module is found when restoring
the state the optional features are enabled, and disabled otherwise.
</P>
<H4><A NAME="SEC111" HREF="vice_toc.html#TOC111">8.2.1.2 x128 modules</A></H4>
<P>
The modules in the x128 emulator are:
</P>
<TABLE BORDER>
<TR><TD>Name</TD>
<TD>Type</TD>
<TD>Description</TD>
</TR>
<TR><TD>MAINCPU</TD>
<TD>6502</TD>
<TD>The Main CPU - although it is a 6510, only the 6502 core is saved here</TD>
</TR>
<TR><TD>C128MEM</TD>
<TD>Memory</TD>
<TD>Holds the RAM contents of the C64. Also the CPU I/O register contents are saved here.</TD>
</TR>
<TR><TD>C128ROM</TD>
<TD>ROM images</TD>
<TD>Dump of the system ROMs</TD>
</TR>
<TR><TD>VIC-II</TD>
<TD>656*</TD>
<TD>The VIC-II of the C64/128</TD>
</TR>
<TR><TD>CIA1</TD>
<TD>6526</TD>
<TD>The CIA for the interrupts and the keyboard</TD>
</TR>
<TR><TD>CIA2</TD>
<TD>6526</TD>
<TD>The CIA for the userport, IEC-bus and RS232.</TD>
</TR>
<TR><TD>SID</TD>
<TD>6581</TD>
<TD>The SID sound chip of the C64/C128</TD>
</TR>
<TR><TD>ACIA1</TD>
<TD>6551</TD>
<TD>An ACIA at $DE00 (optional)</TD>
</TR>
<TR><TD>TPI</TD>
<TD>6525</TD>
<TD>A TPI at $DF00 for a parallel IEEE488 interface (optional)</TD>
</TR>
<TR><TD>*</TD>
<TD>Drive modules</TD>
<TD>The emulated drive(s) have their own modules see section <A HREF="vice_8.html#SEC115">8.2.1.6 Drive modules</A></TD>
</TR></TABLE>
<P>
Some of the modules are optional and are only saved if the specific
feature is enabled at save-time. If the module is found when restoring
the state the optional features are enabled, and disabled otherwise.
</P>
<P>
Not yet supported are the 80 column video chip, cartridges and
RAM expansion unit.
</P>
<H4><A NAME="SEC112" HREF="vice_toc.html#TOC112">8.2.1.3 xvic modules</A></H4>
<P>
The modules in the xvic emulator are:
</P>
<TABLE BORDER>
<TR><TD>Name</TD>
<TD>Type</TD>
<TD>Description</TD>
</TR>
<TR><TD>MAINCPU</TD>
<TD>6502</TD>
<TD>The Main CPU </TD>
</TR>
<TR><TD>VIC20MEM</TD>
<TD>Memory</TD>
<TD>Holds the RAM contents of the VIC20.</TD>
</TR>
<TR><TD>VIC20ROM</TD>
<TD>ROM images</TD>
<TD>Holds the ROM images of the VIC20, including possibly attached cartridges</TD>
</TR>
<TR><TD>VIC-I</TD>
<TD>656*</TD>
<TD>The VIC-I of the VIC20</TD>
</TR>
<TR><TD>VIA1</TD>
<TD>6522</TD>
<TD>The VIA for the interrupts and the keyboard</TD>
</TR>
<TR><TD>VIA2</TD>
<TD>6522</TD>
<TD>The VIA for the userport, IEC-bus and RS232.</TD>
</TR>
<TR><TD>*</TD>
<TD>Drive modules</TD>
<TD>The emulated drive(s) have their own modules see section <A HREF="vice_8.html#SEC115">8.2.1.6 Drive modules</A></TD>
</TR></TABLE>
<H4><A NAME="SEC113" HREF="vice_toc.html#TOC113">8.2.1.4 xpet modules</A></H4>
<P>
The modules in the xpet emulator are:
</P>
<TABLE BORDER>
<TR><TD>Name</TD>
<TD>Type</TD>
<TD>Description</TD>
</TR>
<TR><TD>MAINCPU</TD>
<TD>6502</TD>
<TD>The Main CPU </TD>
</TR>
<TR><TD>PETMEM</TD>
<TD>Memory</TD>
<TD>Holds the RAM contents of the PET.</TD>
</TR>
<TR><TD>PETROM</TD>
<TD>ROM images</TD>
<TD>Holds the ROM images of the PET, including possibly attached cartridges</TD>
</TR>
<TR><TD>CRTC</TD>
<TD>6545</TD>
<TD>The CRTC of the PET. This is also included if it is a dump of a PET without CRTC, because the video state is saved here anyway.</TD>
</TR>
<TR><TD>PIA1</TD>
<TD>6520</TD>
<TD>The PIA for the interrupts, tape and the keyboard</TD>
</TR>
<TR><TD>PIA2</TD>
<TD>6520</TD>
<TD>The PIA for the IEEE488-bus</TD>
</TR>
<TR><TD>VIA</TD>
<TD>6522</TD>
<TD>The VIA for IEEE488, userport, sound</TD>
</TR>
<TR><TD>ACIA1</TD>
<TD>6551</TD>
<TD>The ACIA for the SuperPET. This module is optional.</TD>
</TR>
<TR><TD>*</TD>
<TD>Drive modules</TD>
<TD>The emulated drive(s) have their own modules see section <A HREF="vice_8.html#SEC115">8.2.1.6 Drive modules</A></TD>
</TR></TABLE>
<H4><A NAME="SEC114" HREF="vice_toc.html#TOC114">8.2.1.5 xcbm2 modules</A></H4>
<P>
The modules in the xcbm2 emulator are:
</P>
<TABLE BORDER>
<TR><TD>Name</TD>
<TD>Type</TD>
<TD>Description</TD>
</TR>
<TR><TD>MAINCPU</TD>
<TD>6502</TD>
<TD>The Main CPU - although it is a 6509, only the 6502 core is saved here</TD>
</TR>
<TR><TD>CBM2MEM</TD>
<TD>Memory</TD>
<TD>Holds the RAM contents of the CBM-II models. Also holds the exec-bank and indirection bank registers</TD>
</TR>
<TR><TD>C500DATA</TD>
<TD></TD>
<TD>Holds additional state information necessary for the C500 (e.g. cycles till the next IRQ)</TD>
</TR>
<TR><TD>CBM2ROM</TD>
<TD>Memory</TD>
<TD>optional. Holds the ROM images.</TD>
</TR>
<TR><TD>CRTC</TD>
<TD>6545</TD>
<TD>The video chip for the C6*0 and C7*0 models (only those models).</TD>
</TR>
<TR><TD>VIC-II</TD>
<TD>656?</TD>
<TD>The video chip for the C5*0 models (only the C5*0 models).</TD>
</TR>
<TR><TD>CIA1</TD>
<TD>6526</TD>
<TD>The CIA for IEEE 488 and userport.</TD>
</TR>
<TR><TD>TPI1</TD>
<TD>6525</TD>
<TD>TPI 1 for IEEE488</TD>
</TR>
<TR><TD>TPI2</TD>
<TD>6525</TD>
<TD>TPI 2 for interrupts and keyboard.</TD>
</TR>
<TR><TD>ACIA1</TD>
<TD>6551</TD>
<TD>The RS232 interface</TD>
</TR>
<TR><TD>SID</TD>
<TD>6581</TD>
<TD>The CBM2s SID sound chip</TD>
</TR>
<TR><TD>*</TD>
<TD>Drive modules</TD>
<TD>The emulated drive(s) have their own modules see section <A HREF="vice_8.html#SEC115">8.2.1.6 Drive modules</A></TD>
</TR></TABLE>
<P>
The snapshot either contains CRTC or VIC-II snapshot modules, but
not both. Currently switching between the two video emulations is not
possible at runtime, so only snapshots that fit the current UseVicII
resource are accepted.
</P>
<H4><A NAME="SEC115" HREF="vice_toc.html#TOC115">8.2.1.6 Drive modules</A></H4>
<P>
The modules for the real disk drive emulation are included in the emulator
when the emulation is enabled during the writing of the snapshot.
</P>
<TABLE BORDER>
<TR><TD>Name</TD>
<TD>Type</TD>
<TD>Description</TD>
</TR>
<TR><TD>*CPU</TD>
<TD>6502</TD>
<TD>The Drive 0 CPU</TD>
</TR>
<TR><TD>*</TD>
<TD>*</TD>
<TD>*</TD>
</TR></TABLE>
<H3><A NAME="SEC116" HREF="vice_toc.html#TOC116">8.2.2 Module formats</A></H3>
<P>
This section shows the basic module framework and the contents of the
different types of modules.
</P>
<P>
The single chip modules contain the <B>chip</B> state, not the state of the
emulator. We tried to make the format as implementation-independent as
possible, to allow reuse of snapshots in later versions of this
emulator, or even in other emulators.
</P>
<H4><A NAME="SEC117" HREF="vice_toc.html#TOC117">8.2.2.1 Terminology</A></H4>
<P>
In this section we use certain abbreviations to define the types of the
data saved in the snapshot.
</P>
<DL COMPACT>
<DT><CODE>BYTE</CODE>
<DD>
8 bit integer.
<DT><CODE>WORD</CODE>
<DD>
16 bit integer. Saved with low-byte first, high-byte last.
<DT><CODE>DWORD</CODE>
<DD>
32 bit integer. Saved with low-word first, then high-word. Each word saved with its low-byte first.
<DT><CODE>ARRAY</CODE>
<DD>
Array of BYTE values. Length depends on the description.
</DL>
<P>
The tables for the single modules state the type, name and description
of the data saved in the modules. The data is saved in the order it is
in the tables, so no offset is given.
</P>
<H4><A NAME="SEC118" HREF="vice_toc.html#TOC118">8.2.2.2 Module framework</A></H4>
<P>
The VICE snapshot file starts with the magic string and includes the
fileformat version number.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>19 BYTE</TD>
<TD>MAGIC</TD>
<TD>"VICE Snapshot File\032", padded with 0</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>VMAJOR</TD>
<TD>fileformat major version number</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>VMINOR</TD>
<TD>fileformat minor version number</TD>
</TR>
<TR><TD>16 BYTE</TD>
<TD>MACHINENAME</TD>
<TD>Name of emulated machine, like "PET", "CBM-II", "VIC20", "C64" or "C128". zerobyte-padded.</TD>
</TR></TABLE>
<P>
The file header is followed by a number of different snapshot modules.
</P>
<P>
Each module has a header with the information given in the table below.
The header includes two version numbers, VMAJOR and VMINOR. Modules
with the same VMAJOR should be able to be exchanged. I.e. higher VMINOR
numbers only append to the data for lower VMINOR. This additional data
is ignored by older restore routines. The other way around newer
restore routines must accept the fewer info from lower VMINOR dumps.
Changes in VMAJOR might introduce any incompatibility you like, but
that's what VMAJOR is for after all :-)
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>16 BYTE</TD>
<TD>MODULENAME</TD>
<TD>The name of the module in ASCII, padded with 0 to 16 byte.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>VMAJOR</TD>
<TD>major version number</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>VMINOR</TD>
<TD>minor version number</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>SIZE</TD>
<TD>size of the module, including this header</TD>
</TR></TABLE>
<H4><A NAME="SEC119" HREF="vice_toc.html#TOC119">8.2.2.3 CPU module</A></H4>
<P>
This module saves the core 6502 state. You will find a clock value
there. All other modules save their own clock values relative to this
value. However, the drive modules save their clocks relative to their
appropriate CPUs of course.
</P>
<P>
<B>Warning:</B> This module is still under construction and saves some
information that is not sure to be VICE-independent. If in doubt, read
the source.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>CLK</TD>
<TD>the current CPU clock value. All other clock values are relative to this.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>AC</TD>
<TD>Accumulator</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>XR</TD>
<TD>X index register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>YR</TD>
<TD>Y index register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SP</TD>
<TD>Stack Pointer</TD>
</TR>
<TR><TD>WORD</TD>
<TD>PC</TD>
<TD>Programm Counter</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ST</TD>
<TD>Status Registers</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>LASTOPCODE</TD>
<TD>?</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>IRQCLK</TD>
<TD>absolute CLK when the IRQ line came active</TD>
</TR>
<TR><TD>DOWRD</TD>
<TD>NMICLK</TD>
<TD>absolute CLK when the NMI line came active</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>?</TD>
<TD>?</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>?</TD>
<TD>?</TD>
</TR></TABLE>
<H4><A NAME="SEC120" HREF="vice_toc.html#TOC120">8.2.2.4 CIA module</A></H4>
<P>
The CIA 6526 is an I/O port chip with 2 8-bit I/O ports, a shift register,
two timers, a Time of Day clock and interrupts.
</P>
<P>
Version numbers: Major 1, Minor 1.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ORA</TD>
<TD>Output register A</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ORB</TD>
<TD>Output register B</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRA</TD>
<TD>Data direction register A</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRB</TD>
<TD>Data direction register B</TD>
</TR>
<TR><TD>WORD</TD>
<TD>TAC</TD>
<TD>Timer A counter value</TD>
</TR>
<TR><TD>WORD</TD>
<TD>TBC</TD>
<TD>Timer B counter value</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TOD_TEN</TD>
<TD>Time of Day - current tenth of second</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TOD_SEC</TD>
<TD>Time of Day - current seconds</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TOD_MIN</TD>
<TD>Time of Day - current minutes</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TOD_HR</TD>
<TD>Time of Day - current hours</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SDR</TD>
<TD>contents of shift register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>IER</TD>
<TD>mask of enabled interrupt masks</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CRA</TD>
<TD>Control register A</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CRB</TD>
<TD>Control register B</TD>
</TR>
<TR><TD>WORD</TD>
<TD>TAL</TD>
<TD>Timer A latch value</TD>
</TR>
<TR><TD>WORD</TD>
<TD>TBL</TD>
<TD>Timer B latch value</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>IFR</TD>
<TD>mask of currently active interrupts</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>PBSTATE</TD>
<TD>Bit 6/7 reflect the PB6/7 toggle bit state. Bit 2/3 reflect the corresponding port bit state.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SRHBITS</TD>
<TD>number of half-bits to still shift in/out SDR</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ALARM_TEN</TD>
<TD>Time of Day - alarm tenth of second</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ALARM_SEC</TD>
<TD>Time of Day - alarm seconds</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ALARM_MIN</TD>
<TD>Time of Day - alarm minutes</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ALARM_HR</TD>
<TD>Time of Day - alarm hours</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>READICR</TD>
<TD>current clock minus the clock when ICR was read last plus 128.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TODLATCHED</TD>
<TD>Bit 0: 1= latched for reading, Bit 1: 2=stopped for writing</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TODL_TEN</TD>
<TD>Time of Day - latched tenth of second</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TODL_SEC</TD>
<TD>Time of Day - latched seconds</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TODL_MIN</TD>
<TD>Time of Day - latched minutes</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TODL_HR</TD>
<TD>Time of Day - latched hours</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>TOD_TICKS</TD>
<TD>clk ticks till next tenth of second</TD>
</TR>
<TR><TD>--</TD>
<TD>--</TD>
<TD>The next items have been added in V1.1</TD>
</TR>
<TR><TD>WORD</TD>
<TD>TASTATE</TD>
<TD>The state bits of the CIA timer A, according to ciatimer.h</TD>
</TR>
<TR><TD>WORD</TD>
<TD>TBSTATE</TD>
<TD>The state bits of the CIA timer B, according to ciatimer.h</TD>
</TR></TABLE>
<P>
The last two items have been added in CIA snapshot version 1.1 due
to the improved CIA emulation in the newer VICE versions.
Some state bits correspond to the CIA state as described in the
"A Software Model of the CIA 6526" document by Wolfgang Lorenz,
some are delayed versions. For more read the source file
<CODE>ciatimer.h</CODE>.
</P>
<H4><A NAME="SEC121" HREF="vice_toc.html#TOC121">8.2.2.5 VIA module</A></H4>
<P>
The VIA 6522 is the predecessor of the CIA and also an I/O port chip
with 2 8-bit I/O ports, a shift register,
two timers and interrupts.
</P>
<P>
Version numbers: Major 1, Minor 0.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ORA</TD>
<TD>Output register A</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRA</TD>
<TD>Data direction register A</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ORB</TD>
<TD>Output register B</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRB</TD>
<TD>Data direction register B</TD>
</TR>
<TR><TD>WORD</TD>
<TD>T1L</TD>
<TD>Timer 1 Latch value</TD>
</TR>
<TR><TD>WORD</TD>
<TD>T1C</TD>
<TD>Timer 1 counter value</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>T2L</TD>
<TD>Timer 2 latch (8 bit as only lower byte is used)</TD>
</TR>
<TR><TD>WORD</TD>
<TD>T2C</TD>
<TD>Timer 2 counter value</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>RUNFL</TD>
<TD>bit 7: timer 1 will generate IRQ on underflow; bit 6: timer 2 will generate IRQ on underflow</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SR</TD>
<TD>Shift register value</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ACR</TD>
<TD>Auxiliary control register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>PCR</TD>
<TD>Peripheral control register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>IFR</TD>
<TD>active interrupts</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>IER</TD>
<TD>interrupt mask</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>PB7</TD>
<TD>bit 7 = pb7 state</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SRHBITS</TD>
<TD>number of half-bits to shift out on SR</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CABSTATE</TD>
<TD>bit 7: state of CA2 pin, bit 6: state of CB2 pin</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ILA</TD>
<TD>Port A Input Latch (see ACR bit 0)</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ILB</TD>
<TD>Port B Input Latch (see ACR bit 1)</TD>
</TR></TABLE>
<H4><A NAME="SEC122" HREF="vice_toc.html#TOC122">8.2.2.6 PIA module</A></H4>
<P>
The PIA 6520 is a chip with two I/O ports (Parallel Interface Adapter)
and four additional handshake lines. The chip is pretty the same for
Port A and B, only that Port A implements handshake on read operation
and port B on write operation.
</P>
<P>
Version numbers: Major 1, Minor 0.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>ORA</TD>
<TD>Output register A</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>DDRA</TD>
<TD>Data Direction Register A</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>CTRLA</TD>
<TD>Control Register A</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>ORB</TD>
<TD>Output register B</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>DDRB</TD>
<TD>Data Direction Register B</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>CTRLB</TD>
<TD>Control Register B</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>CABSTATE</TD>
<TD>Bit 7 = state of CA2, Bit 6 = state of CB2</TD>
</TR></TABLE>
<H4><A NAME="SEC123" HREF="vice_toc.html#TOC123">8.2.2.7 TPI module</A></H4>
<P>
The TPI 6525 is a chip with three I/O ports (Tri-Port-Interface). One of
the ports can double as an interrupt prioritizer. Therefore we also have
to save the states of the interrupt stack etc.
</P>
<P>
Version numbers: Major 1, Minor 0.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>PRA</TD>
<TD>Port A output register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>PRB</TD>
<TD>Port B output register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>PRC</TD>
<TD>Port C output register (doubles as IRQ latch register)</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRA</TD>
<TD>Port A data direction register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRB</TD>
<TD>Port B data direction register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRC</TD>
<TD>Port C data direction register (doubles as IRQ mask register)</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CR</TD>
<TD>Control Register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>AIR</TD>
<TD>Active interrupt register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>STACK</TD>
<TD>Interrupt stack - the interrupt bits that are not (yet) served.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CABSTATE</TD>
<TD>State of CA/CB pins. Bit 7 = state of CA, Bit 6 = state of CB</TD>
</TR></TABLE>
<H4><A NAME="SEC124" HREF="vice_toc.html#TOC124">8.2.2.8 RIOT module</A></H4>
<P>
The RIOT 6532 is a chip with two I/O ports, some RAM and a Timer.
The chip contains 128 byte RAM, but the RAM is not saved in the
RIOT snapshot, but in the memory section.
</P>
<P>
<B>Warning:</B> This module is still under construction
</P>
<P>
Version numbers: Major 0, Minor 0.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ORA</TD>
<TD>Port A output register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRA</TD>
<TD>Port A data direction register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>ORB</TD>
<TD>Port B output register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>DDRB</TD>
<TD>Port B data direction register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>EDGECTRL</TD>
<TD>Bit 0/1: A0/A1 address bits written to edgecontrol registers</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>IRQFL</TD>
<TD>Bit 6/7: A6/A7 IRQ flag register. Bit 0: state of the IRQ line (0=inactive, 1=active)</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>N</TD>
<TD>timer value</TD>
</TR>
<TR><TD>WORD</TD>
<TD>DIVIDER</TD>
<TD>Pre-scale divider value (1, 8, 64, or 1024)</TD>
</TR>
<TR><TD>WORD</TD>
<TD>REST</TD>
<TD>cycles since the last counter change</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>IRQEN</TD>
<TD>Bit 0: 0= timer IRQ disabled, 1= timer IRQ enabled</TD>
</TR></TABLE>
<H4><A NAME="SEC125" HREF="vice_toc.html#TOC125">8.2.2.9 SID module</A></H4>
<P>
<B>Warning:</B> This module is still under construction.
</P>
<H4><A NAME="SEC126" HREF="vice_toc.html#TOC126">8.2.2.10 ACIA module</A></H4>
<P>
The ACIA 6551 is an RS232 interface chip. VICE emulates RS232 connections
via <CODE>/dev/ttyS*</CODE> (Unix) or <CODE>COM:</CODE> (DOS/WIN - not yet?).
When saving a snapshot, those connections are of course lost.
The state of the ACIA however is restored if possible. I.e. if a connection
is already open when restoring the snapshot, this connection is used
instead. If no connection is open, a carrier/DTR drop is emulated.
</P>
<P>
Version numbers: Major 1, Minor 0.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>TDR</TD>
<TD>Transmit Data Register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>RDR</TD>
<TD>Receiver Data Register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SR</TD>
<TD>Status Register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CMD</TD>
<TD>Command Register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CTRL</TD>
<TD>Ctrl Register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>INTX</TD>
<TD>0 = no data to tx; 1 = Data is being transmitted; 2 = Data is being transmitted while data in TDR waiting to be put to internal transmit register</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>TICKS</TD>
<TD>Clock ticks till the next TDR empty interrupt</TD>
</TR></TABLE>
<H4><A NAME="SEC127" HREF="vice_toc.html#TOC127">8.2.2.11 VIC-I module</A></H4>
<P>
<B>Warning:</B> This module is still under construction.
</P>
<H4><A NAME="SEC128" HREF="vice_toc.html#TOC128">8.2.2.12 VIC-II module</A></H4>
<P>
<B>Warning:</B> This module is still under construction.
</P>
<H4><A NAME="SEC129" HREF="vice_toc.html#TOC129">8.2.2.13 CRTC module</A></H4>
<P>
<B>Warning:</B> After VICE version 1.0 the CRTC emulation has improved
considerably. Especially it is now cycle exact. Therefore a lot more
variables must be saved. The snapshot module version jumped from
0.0 to 1.0. Newer versions of VICE can read the old snapshots, but
older versions (1.0 and below) cannot read the new snapshots.
</P>
<P>
<B>Warning:</B> This module is still under construction. Especially the
RASTERY and RASTERLINE values might be bogus.
</P>
<P>
Version numbers: Major 1, Minor 1.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD></TD>
<TD></TD>
<TD>Hardware options</TD>
</TR>
<TR><TD>WORD</TD>
<TD>VADDR_MASK</TD>
<TD>Mask of the address bits valid when accessing the video memory</TD>
</TR>
<TR><TD>WORD</TD>
<TD>VADDR_CHARSWITCH</TD>
<TD>If one bit in the video address is used to switch the character generator, it is masked here.</TD>
</TR>
<TR><TD>WORD</TD>
<TD>VADDR_CHAROFFSET</TD>
<TD>The offset in characters in the character generator that CHARSWITCH switches.</TD>
</TR>
<TR><TD>WORD</TD>
<TD>VADDR_REVSWITCH</TD>
<TD>If one bit in the video address inverts the screen, it is masked here. </TD>
</TR>
<TR><TD>WORD</TD>
<TD>CHARGEN_MASK</TD>
<TD>size of character generator in byte - 1</TD>
</TR>
<TR><TD>WORD</TD>
<TD>CHARGEN_OFFSET</TD>
<TD>offset given by external circuitry</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>HW_CURSOR</TD>
<TD>external hardware cursor circuitry enabled</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>HW_COLS</TD>
<TD>number of displayed columns during one character clock cycle</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>HW_BLANK</TD>
<TD>set if the hardware blank feature is available</TD>
</TR>
<TR><TD></TD>
<TD></TD>
<TD>CRTC register</TD>
</TR>
<TR><TD>20 BYTE</TD>
<TD>REGISTERS</TD>
<TD>register DUMP of the CRTC registers 0-19.</TD>
</TR>
<TR><TD></TD>
<TD></TD>
<TD>CRTC internal registers</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>REGNO</TD>
<TD>The current index in the CRTC register file</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CHAR</TD>
<TD>The current cycle within the current rasterline</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CHARLINE</TD>
<TD>The current character line</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>YCOUNTER</TD>
<TD>The current rasterline in the character</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CRSRCNT</TD>
<TD>Framecounter for the blinking cursor</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CRSRSTATE</TD>
<TD>if set the hardware cursor is visible</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CRSRLINES</TD>
<TD>set if ycounter is within the active cursor rasterlines for a char</TD>
</TR>
<TR><TD>WORD</TD>
<TD>CHARGEN_REL</TD>
<TD>relative base of currently used character generator in ROM (in byte)</TD>
</TR>
<TR><TD>WORD</TD>
<TD>SCREEN_REL</TD>
<TD>screen address to load the counter at the beginning of the next rasterline</TD>
</TR>
<TR><TD>WORD</TD>
<TD>VSYNC</TD>
<TD>number of rasterlines left within vsync; 0 = not in vsync</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>VENABLE</TD>
<TD>vertical enable flipflop; 1= display, 0= blank.</TD>
</TR>
<TR><TD></TD>
<TD></TD>
<TD>(VICE-dependent?) variables</TD>
</TR>
<TR><TD>WORD</TD>
<TD>SCREEN_WIDTH</TD>
<TD>width of the current display window</TD>
</TR>
<TR><TD>WORD</TD>
<TD>SCREEN_HEIGHT</TD>
<TD>height of the current display window</TD>
</TR>
<TR><TD>WORD</TD>
<TD>SCREEN_XOFFSET</TD>
<TD>x position where the first character in a line starts in the window...</TD>
</TR>
<TR><TD>WORD</TD>
<TD>HJITTER</TD>
<TD>...but only after adding this jitter</TD>
</TR>
<TR><TD>WORD</TD>
<TD>SCREEN_YOFFSET</TD>
<TD>x position where the first character in a line starts in the window...</TD>
</TR>
<TR><TD>WORD</TD>
<TD>FRAMELINES</TD>
<TD>expected number of rasterlines for the current frame</TD>
</TR>
<TR><TD>WORD</TD>
<TD>CURRENT_LINE</TD>
<TD>current rasterline as seen from the CRTC</TD>
</TR>
<TR><TD></TD>
<TD></TD>
<TD>This value has been added in module version V1.1</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>FLAG</TD>
<TD>Bit 0: If 1 then bit in VADDR_REVSWITCH must be set for reverse; if 0 then bit must be cleared for reverse.</TD>
</TR></TABLE>
<P>
Here is the reference for the previous CRTC snapshot module. It is outdated
and will not be read by this and later versions of VICE.
</P>
<P>
Version numbers: Major 0, Minor 0.
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>RASTERY</TD>
<TD>The number of clock cycles from rasterlines start</TD>
</TR>
<TR><TD>WORD</TD>
<TD>RASTERLINE</TD>
<TD>The current rasterline </TD>
</TR>
<TR><TD>WORD</TD>
<TD>ADDRMASK</TD>
<TD>The address mask valid for the CRTC. All memory accesses are masked with this value</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>HWFLAG</TD>
<TD>Bit 0: 1= hardware cursor available. Bit 1: 1= number of columns is doubled by external hardware</TD>
</TR>
<TR><TD>20 BYTE</TD>
<TD>REGISTERS</TD>
<TD>register DUMP of the CRTC registers 0-19.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CRSRSTATE</TD>
<TD>Hardware cursor: Bits 0-3: frame counter till next crsr line toggle. Bit 7: 1= cursor line active</TD>
</TR></TABLE>
<H4><A NAME="SEC130" HREF="vice_toc.html#TOC130">8.2.2.14 C64 memory module</A></H4>
<P>
The C64 memory module actually consists of two modules. The "C64MEM" module
is mandatory and contains the RAM dump. The "C64ROM" module is optional
and contains a dump of the ROM images.
</P>
<P>
The size of the C64 memory modules differs with each different memory
configuration. The RAM configuration is saved in the snapshot, and
restored when the snapshot is loaded. The attached cartridges are
<B>not yet(!)</B> saved and not yet restored upon load.
</P>
<P>
Version numbers: Major 0, Minor 0
</P>
<P>
<B>The C64MEM module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CPUDATA</TD>
<TD>CPU port data byte</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CPUDIR</TD>
<TD>CPU port direction byte</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>EXROM</TD>
<TD>state of the EXROM line (?)</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>GAME</TD>
<TD>state of the GAME line (?)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM</TD>
<TD>64k RAM dump</TD>
</TR></TABLE>
<P>
<B>The C64ROM module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>KERNAL</TD>
<TD>8k dump of the kernal ROM</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BASIC</TD>
<TD>8k dump of the basic ROM</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>CHARGEN</TD>
<TD>4k dump of the chargen ROM</TD>
</TR></TABLE>
<H4><A NAME="SEC131" HREF="vice_toc.html#TOC131">8.2.2.15 C128 memory module</A></H4>
<P>
The C128 memory module actually consists of two modules. The "C128MEM" module
is mandatory and contains the RAM dump. The "C128ROM" module is optional
and contains a dump of the ROM images.
</P>
<P>
The size of the C128 memory modules differs with each different memory
configuration. The RAM configuration is saved in the snapshot, and
restored when the snapshot is loaded. The attached cartridges are
also restored upon load if they have been saved in the snapshot.
</P>
<P>
Version numbers: Major 0, Minor 0
</P>
<P>
<B>The C128MEM module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>12 BYTE</TD>
<TD>MMU</TD>
<TD>dump of the 12 MMU registers</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM</TD>
<TD>128k RAM dump banks 0 and 1</TD>
</TR></TABLE>
<P>
<B>The C128ROM module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>KERNAL</TD>
<TD>8k dump of the kernal ROM</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BASIC</TD>
<TD>32k dump of the basic ROM</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>EDITOR</TD>
<TD>4k dump of the editor ROM</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>4k CHARGEN</TD>
<TD>dump of the chargen ROM</TD>
</TR></TABLE>
<H4><A NAME="SEC132" HREF="vice_toc.html#TOC132">8.2.2.16 VIC20 memory module</A></H4>
<P>
The VIC20 memory module actually consists of two modules. The "VIC20MEM" module
is mandatory and contains the RAM dump. The "VIC20ROM" module is optional
and contains a dump of the ROM images.
</P>
<P>
The size of the VIC20 memory modules differs with each different memory
configuration. The RAM configuration is saved in the snapshot, and
restored when the snapshot is loaded. The attached cartridges are
also restored upon load if they have been saved in the snapshot.
</P>
<P>
<B>The VIC20MEM module</B>
</P>
<P>
Version numbers: Major 1, Minor 0
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CONFIG</TD>
<TD>Configuration register. Bits 0,1,2,3,5 reflect if the corresponding memory block is RAM (bit=1) or not (bit=0).</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM0</TD>
<TD>1k RAM dump $0000-$03ff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM1</TD>
<TD>4k RAM dump $1000-$1fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>COLORRAM</TD>
<TD>2k Color RAM, $9400-$9bff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK0</TD>
<TD>if CONFIG & 1 then: 3k RAM dump $0400-$0fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK1</TD>
<TD>if CONFIG & 2 then: 8k RAM dump $2000-$3fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK2</TD>
<TD>if CONFIG & 4 then: 8k RAM dump $4000-$5fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK3</TD>
<TD>if CONFIG & 8 then: 8k RAM dump $6000-$7fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK5</TD>
<TD>if CONFIG & 32 then: 8k RAM dump $a000-$bfff</TD>
</TR></TABLE>
<P>
<B>The VIC20ROM module</B>
</P>
<P>
Version numbers: Major 1, Minor 1
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CONFIG</TD>
<TD>Bit 0: 1= ROM block $2*** enabled. Bit 1: 1= ROM block $3*** enabled. Bit 2: 1= ROM block $4*** enabled. Bit 3: 1= ROM block $5*** enabled. Bit 4: 1= ROM block $6*** enabled. Bit 5: 1= ROM block $7*** enabled. Bit 6: 1= ROM block $A*** enabled. Bit 7: 1= ROM block $B*** enabled.</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>KERNAL</TD>
<TD>8k KERNAL ROM image $e000-$ffff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BASIC</TD>
<TD>16k BASIC ROM image $c000-$dfff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>CHARGEN</TD>
<TD>4k CHARGEN ROM image</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK1A</TD>
<TD>4k ROM image $2*** (if CONFIG & 1)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK1B</TD>
<TD>4k ROM image $3*** (if CONFIG & 2)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK3A</TD>
<TD>4k ROM image $6*** (if CONFIG & 16)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK3B</TD>
<TD>4k ROM image $7*** (if CONFIG & 32)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK5A</TD>
<TD>4k ROM image $A*** (if CONFIG & 64)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK5B</TD>
<TD>4k ROM image $B*** (if CONFIG & 128)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK2A</TD>
<TD>4k ROM image $4*** (if CONFIG & 4; added in V1.1)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BLK2B</TD>
<TD>4k ROM image $5*** (if CONFIG & 8; added in V1.1)</TD>
</TR></TABLE>
<H4><A NAME="SEC133" HREF="vice_toc.html#TOC133">8.2.2.17 PET memory module</A></H4>
<P>
The PET memory module actually consists of two modules. The "PETMEM" module
is mandatory and contains the RAM dump. The "PETROM" module is optional
and contains a dump of the ROM images.
</P>
<P>
The size of the PET memory modules differs with each different memory
configuration. The RAM configuration is saved in the snapshot, and
restored when the snapshot is loaded.
</P>
<P>
<B>The PETMEM module</B>
</P>
<P>
Version numbers: Major 1, Minor 2
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CONFIG</TD>
<TD>Configuration value. Bits 0-3: 0= 40 col PET without CRTC; 1= 40 col PET with CRTC; 2 = 80 col PET (with CRTC); 3= SuperPET; 4= 8096; 5= 8296. Bit 6: 1= RAM at $9***. Bit 7: 1= RAM at $A***.</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>KEYBOARD</TD>
<TD>Keyboard type. 0= UK business; 1= Graphics; 2= German business</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>MEMSIZE</TD>
<TD>memory size of low 32k in k (possible values 4, 8, 16, 32)</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CONF8X96</TD>
<TD>Value of the 8x96 configuration register</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>SUPERPET</TD>
<TD>SuperPET config. Bit 0: 1= $9*** RAM enabled. Bit 1: 1= RAM write protected. Bit 2: 1= CTRL register write protected. Bit 3: 0= DIAG pin active. Bits 4-7: RAM block in use. </TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM</TD>
<TD>4-32k RAM (not 8296, size depends on MEMSIZE)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>VRAM</TD>
<TD>2/4k RAM (not 8296, size depends on CONFIG)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>EXTRAM</TD>
<TD>64k expansion RAM (SuperPET and 8096 only)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM</TD>
<TD>128k RAM (8296 only)</TD>
</TR>
<TR><TD>--</TD>
<TD>--</TD>
<TD>The following item has been added in V1.1</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>POSITIONAL</TD>
<TD>bit 0=0 = symbolic keyboard mapping, bit 0=1 = positional mapping.</TD>
</TR>
<TR><TD>--</TD>
<TD>--</TD>
<TD>The following item has been added in V1.1</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>EOIBLANK</TD>
<TD>bit 0=0 = EOI does not blank screen, bit 0=1 = EOI blanks screen.</TD>
</TR></TABLE>
<P>
The last item has been added in PETMEM snapshot version 1.1. It is
ignored by earlier restore routines (V1.0) and the V1.1 restore routines
do not change the current setting when reading a V1.0 snapshot.
</P>
<P>
In V1.2 the new EOIBLANK variable has been added. This implements
the "blank screen on EOI" feature that was previously linked to a wrong
resource.
</P>
<P>
<B>The PETROM module</B>
</P>
<P>
Version numbers: Major 1, Minor 0
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>BYTE</TD>
<TD>CONFIG</TD>
<TD>Bit 0: 1= $9*** ROM included. Bit 1: 1= $A*** ROM included. Bit 2: 1= $B*** ROM included. Bit 3: 1= $e900-$efff ROM included</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>KERNAL</TD>
<TD>4k KERNAL ROM image $f000-$ffff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>EDITOR</TD>
<TD>2k EDITOR ROM image $e000-$e7ff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>CHARGEN</TD>
<TD>2k CHARGEN ROM image</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROM9</TD>
<TD>4k $9*** ROM image (if CONFIG & 1)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROMA</TD>
<TD>4k $A*** ROM image (if CONFIG & 2)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROMB</TD>
<TD>4k $B*** ROM image (if CONFIG & 4)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROMC</TD>
<TD>4k $C*** ROM image </TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROMD</TD>
<TD>4k $D*** ROM image</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROME9</TD>
<TD>7 blocks $e900-$efff ROM image (if CONFIG & 8)</TD>
</TR></TABLE>
<H4><A NAME="SEC134" HREF="vice_toc.html#TOC134">8.2.2.18 CBM-II memory module</A></H4>
<P>
The CBM-II memory module actually consists of two modules. The
"CBM2MEM" module is mandatory and contains the RAM dump. The "CBM2ROM"
module is optional and contains a dump of the ROM images.
</P>
<P>
The size of the CBM-II memory modules differs with each different memory
configuration. The RAM configuration is saved in the snapshot, and
restored when the snapshot is loaded.
</P>
<P>
Version numbers: Major 1, Minor 0
</P>
<P>
<B>The CBM2MEM module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>MEMSIZE</TD>
<TD>Memory size in 128k blocks (1=128k, 2=256k, 4=512k, 8=1024k)</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>CONFIG</TD>
<TD>Bit 0 = $f0800-$f0fff RAM, Bit 1 = $f1000-$f1fff RAM, Bit 2 = $f2000-$f3fff RAM, Bit 3 = $f4000-$f5fff RAM, Bit 4 = $f6000-$f7fff RAM, Bit 5 = $fc000-$fcfff RAM, Bit 6 = is a C500</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>HWCONFIG</TD>
<TD>Bit 0/1: model line configuration</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>EXECBANK</TD>
<TD>CPUs execution bank register</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>INDBANK</TD>
<TD>CPUs indirection bank register</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>SYSRAM</TD>
<TD>2k system RAM $f0000-$f07ff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>VIDEO</TD>
<TD>2k video RAM $fd000-$fd7ff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM</TD>
<TD>RAM dump, size according to MEMSIZE</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM08</TD>
<TD>if memsize < 1M and CONFIG & 1 : 2k RAM $f0800-$f0fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM1</TD>
<TD>if memsize < 1M and CONFIG & 2 : 4k RAM $f1000-$f1fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM2</TD>
<TD>if memsize < 1M and CONFIG & 4 : 8k RAM $f2000-$f3fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM4</TD>
<TD>if memsize < 1M and CONFIG & 8 : 8k RAM $f4000-$f5fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAM6</TD>
<TD>if memsize < 1M and CONFIG & 16 : 8k RAM $f6000-$f7fff</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>RAMC</TD>
<TD>if memsize < 1M and CONFIG & 32 : 4k RAM $fc000-$fcfff</TD>
</TR></TABLE>
<P>
The RAM* arrays are only saved if the RAM itself is less than 1M.
If the memory size is 1M then those areas are taken from the
bank 15 area of the normal RAM.
</P>
<P>
The memory array starts at $10000 if the memory size is less than 512k,
or at $00000 if 512k or more. In case of a C510, then the memory array
also always starts at $00000.
</P>
<P>
<B>The CBM2ROM module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>UBYTE</TD>
<TD>CONFIG</TD>
<TD>Bit 1: 1= $1*** ROM image included. Bit 2: 1= $2000-$3fff ROM image included. Bit 3: 1= $4000-$5fff ROM image included. Bit 4: 1= $6000-$7fff ROM image included. Bit 5: 1= chargen ROM is VIC-II chargen, 0= CRTC chargen.</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>KERNAL</TD>
<TD>8 KERNAL ROM image ($e000-$efff)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>BASIC</TD>
<TD>BASIC ROM image ($8000-$bfff)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>CHARGEN</TD>
<TD>4k CHARGEN ROM image</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROM1</TD>
<TD>4k cartridge ROM image for $1*** (if CONFIG & 2)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROM2</TD>
<TD>8k cartridge ROM image for $2000-$3fff (if CONFIG & 4)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROM4</TD>
<TD>8k cartridge ROM image for $4000-$5fff (if CONFIG & 8)</TD>
</TR>
<TR><TD>ARRAY</TD>
<TD>ROM6</TD>
<TD>8k cartridge ROM image for $6000-$7fff (if CONFIG & 16)</TD>
</TR></TABLE>
<H4><A NAME="SEC135" HREF="vice_toc.html#TOC135">8.2.2.19 C500 data module</A></H4>
<P>
The C500 data module contains simple state information not already saved
in the other modules.
</P>
<P>
Version numbers: Major 0, Minor 0
</P>
<P>
<B>The C500DATA module</B>
</P>
<TABLE BORDER>
<TR><TD>Type</TD>
<TD>Name</TD>
<TD>Description</TD>
</TR>
<TR><TD>DWORD</TD>
<TD>IRQCLK</TD>
<TD>CPU clock ticks till next 50Hz IRQ</TD>
</TR></TABLE>
<P><HR><P>
Go to the <A HREF="vice_1.html">first</A>, <A HREF="vice_7.html">previous</A>, <A HREF="vice_9.html">next</A>, <A HREF="vice_16.html">last</A> section, <A HREF="vice_toc.html">table of contents</A>.
</BODY>
</HTML>
|