Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Check for overlaps in data/code areas in PDP8 .rim and .bin files

License

NotificationsYou must be signed in to change notification settings

mengstr/chkoverlap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check for overlaps in data/code areas in PDP8 .rim/.bin files

This program analyzes (and optionally dumps) a BIN or RIM filefor overlapping areas. It was created to analyze the files frompalbart that doesn't warn when data and/or code areas run intoeachother.

It can also print memory usage maps, either in compressed (two words per character) or full (one character per word).

Return value from the program is the number of overlapping areas found so it can be directly used in a Makefile to abort processing if there are overlaps.

Example Makefile

This first assembles the source using palbart, followed by a check of overlaps and finally it writes a map-file.

PAL:=../tools/palbartCHK:=../tools/chkoverlapall: tb8.bintb8.bin: tb8.pal        $(PAL) -a -p -n -d -x -t 8 $<        $(CHK) -b $@        $(CHK) -b -M -s $@ > tb8.map

Usage instructions

Usage:  chkoverlap [options] filenamewhere [options] are optional parameters chosen from:    -b             process a .BIN file    -r             process a .RIM file    -m             display (compressed) memory usage map    -M             display (full) memory usage map    -s             silent operation    -v             verbose operationChecks for overlapping addresses in PDP8 .RIM or .BIN files.

Examples of memory maps

Compressed (-m)

0000 XXXXXXXXXXXXXXXXXXXX............................................0200 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0400 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0600 XXXXXXXXXXXXXXXXXXXX...........................................X1000 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...1200 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............X1400 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1600 XXXXXXXXXXXXXXXXXXXXX...........................................2000 ................................................................2200 ................................................................<snip>7000 ................................................................7200 ................................................................7400 ................................................................7600 ................................................................

Full (-M)

(Shown snipped both horizontally and vertically)

00 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....<snip>..........................02 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<snip>XXXXXXXXXXXXXXXXXXXXXXXXXX04 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<snip>XXXXXXXXXXXXXXXXXXXXXXXXXX06 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....<snip>.........................X10 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<snip>XXXXXXXXXXXXXXXXXXXX......12 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<snip>........................XX14 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<snip>XXXXXXXXXXXXXXXXXXXXXXXXXX16 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..<snip>..........................20 .....................................<snip>..........................22 .....................................<snip>..........................<snip>70 .....................................<snip>..........................72 .....................................<snip>..........................74 .....................................<snip>..........................76 .....................................<snip>..........................

About

Check for overlaps in data/code areas in PDP8 .rim and .bin files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp