Coder Social home page Coder Social logo

megadrive-vector-table-reader's People

Contributors

infinest avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

megadrive-vector-table-reader's Issues

wrong offsets from 0x80

offsets from 0x080 are strange:

ROMS\Columns (USA, Europe).md
000000: 0x000 Initial Stack Address                     : 0xffff83fc
000004: 0x004 Start of program Code                     : 0x0000021e
000008: 0x008 Bus error                                 : 0x00000200
00000C: 0x00c Address error                             : 0x00000200
000010: 0x010 Illegal instruction                       : 0x00000200
000014: 0x014 Division by zero                          : 0x0000020e
000018: 0x018 CHK exception                             : 0x0000020e
00001C: 0x01c TRAPV exception                           : 0x0000020e
000020: 0x020 Privilage violation                       : 0x0000020e
000024: 0x024 TRACE exception                           : 0x0000020e
000028: 0x028 Line-A emulator                           : 0x0000020e
00002C: 0x02c Line-F emulator                           : 0x0000020e
000030: 0x030 Reserved (NOT USED)                       : 0x0000020e
000034: 0x034 Co-processor protocol violation           : 0x0000020e
000038: 0x038 Format error                              : 0x0000020e
00003C: 0x03c Uninitialized Interrupt                   : 0x0000020e
000040: 0x040 Reserved (NOT USED)                       : 0x0000020e
000044: 0x044 Reserved (NOT USED)                       : 0x0000020e
000048: 0x048 Reserved (NOT USED)                       : 0x0000020e
00004C: 0x04c Reserved (NOT USED)                       : 0x0000020e
000050: 0x050 Reserved (NOT USED)                       : 0x0000020e
000054: 0x054 Reserved (NOT USED)                       : 0x0000020e
000058: 0x058 Reserved (NOT USED)                       : 0x0000020e
00005C: 0x05c Reserved (NOT USED)                       : 0x0000020e
000060: 0x060 Spurious Interrupt                        : 0x0000020e
000064: 0x064 IRQ Level 1                               : 0x00000210
000068: 0x068 IRQ Level 2 (EXT Interrupt)               : 0x00000212
00006C: 0x06c IRQ Level 3                               : 0x00000214
000070: 0x070 IRQ Level 4 (VDP Horizontal Interrupt)    : 0x00000216
000074: 0x074 IRQ Level 5                               : 0x00000218
000078: 0x078 IRQ Level 6 (VDP Vertical Interrupt)      : 0x00000490
00007C: 0x07c IRQ Level 7                               : 0x00000233
wrong offsets from here:
000080: 0x1001 TRAP #00 Exception                        : 0xfc010000
000084: 0x1005 TRAP #01 Exception                        : 0xa111004e
000088: 0x1009 TRAP #02 Exception                        : 0x714e7360
00008C: 0x100d TRAP #03 Exception                        : 0xfe60fe60
000090: 0x1011 TRAP #04 Exception                        : 0xfe60fe60
000094: 0x1015 TRAP #05 Exception                        : 0xfe60fe60
000098: 0x1019 TRAP #06 Exception                        : 0xfe60fe60
00009C: 0x101d TRAP #07 Exception                        : 0xfe083900
0000A0: 0x1021 TRAP #08 Exception                        : 0x0600a100
0000A4: 0x1025 TRAP #09 Exception                        : 0x0d660001
0000A8: 0x1029 TRAP #10 Exception                        : 0x6e4ab900
0000AC: 0x102d TRAP #11 Exception                        : 0xa1000866
0000B0: 0x1031 TRAP #12 Exception                        : 0x0000f84a
0000B4: 0x1035 TRAP #13 Exception                        : 0x7900a100
0000B8: 0x1039 TRAP #14 Exception                        : 0x0c66f44b
0000BC: 0x103d TRAP #15 Exception                        : 0xfa00884c
0000C0: 0x1041 (FP) Branch or Set on Unordered Condition : 0xdd1fe010
0000C4: 0x1045 (FP) Inexact Result                       : 0x29ef0102
0000C8: 0x1049 (FP) Divide by Zero                       : 0x00000f67
0000CC: 0x104d (FP) Underflow                            : 0x08237c53
0000D0: 0x1051 (FP) Operand Error                        : 0x4547412f
0000D4: 0x1055 (FP) Overflow                             : 0x00301470
0000D8: 0x1059 (FP) Signaling NAN                        : 0x002c404e
0000DC: 0x105d (FP) Unimplemented Data Type              : 0x6672172e
0000E0: 0x1201 MMU Configuration Error                   : 0x3c77a200
0000E4: 0x1205 MMU Illegal Operation Error               : 0x037a017c
0000E8: 0x1209 MMU Access Violation Error                : 0x05610036
0000EC: 0x120d Reserved (NOT USED)                       : 0x6a600005
0000F0: 0x1211 Reserved (NOT USED)                       : 0x9061005c
0000F4: 0x1215 Reserved (NOT USED)                       : 0x08610050
0000F8: 0x1219 Reserved (NOT USED)                       : 0x06600051
0000FC: 0x121d Reserved (NOT USED)                       : 0xc4000102

[Feature Request] Arguments for getting certain values

I'd love some arguments getting parsed and outputted undecorated, for example:

mdvtr.exe -0x004 -l or mdvtr.exe -startProgram -l

where argument #1 is what I want to read and argument #2 is how I want to get it (e.g. a long word -l) could output 00000200.

Other arguments that come to my mind are:

  • -unp = unpadded: outputs 200 instead of 00000200
  • -prefix="string", for setting "$" or "0x" as prefix

Thanks in advance ! :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.