aboutsummaryrefslogtreecommitdiff
path: root/jindroush/man/chkrom.rst
blob: 5db1b1505a142e47a988413912091841f60fbf36 (plain)
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
.. |version| replace:: 1.00

======
chkrom
======

-----------------------------------------------------------
check or disassemble 8K or 16K Atari 8-bit cartridge images
-----------------------------------------------------------

.. include:: manhdr.rst

SYNOPSIS
========

chkrom [**-disassemble**] **rom-image**

DESCRIPTION
===========

**chkrom** reads a *raw* Atari 8-bit ROM image (not a **.car** file)
and prints the run address, init address, and the decoded flags in the
cartridge options byte.

Sample run::

  $ chkrom basic.rom
  chkrom v1.00 (c) 1998-1999 Jindrich Kubec <kubecj@asw.cz>
  ROM file:  basic.rom
  Init Addr :BFF0
  Run Addr  :A000
  Flags     :0500 ( INIT&RUN BOOT )
  Ok!

**chkrom** only supports images exactly 8KB (8192 bytes) or 16KB
(16384 bytes). Bankswitched cartridge aren't supported. If you get
"Unknown ROM size", make sure you're using a raw image. If it's a
**.car** image, use **cart2rom**\(1) to make a raw image of it.

OPTIONS
=======

**-disassemble**
  Prints a disassembly of the entire cartridge.

EXIT STATUS
===========

Zero for success, non-zero for failure.

.. include:: manftr.rst