Memory Map

The following is a memory map that was generated based on the MAME source code (.180).  This information is only as accurate as the MAME driver is.  If you see any errors, please let me know what that error is.
 
The Memory Area is related to where the information is from (CPU, Sound Board, etc..), and it may also reflect what it has in common with other hardware.
Memory Area:hcastle_map
Address RangeLengthFunctionDescription
0x0000-0x00078Writehcastle_pf1_control_w
0x0020-0x003F32RAM(/* rowscroll? */)
0x0200-0x02078Writehcastle_pf2_control_w
0x0220-0x023F32RAM(/* rowscroll? */)
0x04001Writehcastle_bankswitch_w
0x04041Device Writesoundlatch, generic_latch_8_device, write
0x04081Writehcastle_soundirq_w
0x040C1Device Writewatchdog, watchdog_timer_device, reset_w
0x04101Read Port, WriteSYSTEM, hcastle_coin_w
0x04111Read PortP1
0x04121Read PortP2
0x04131Read PortDSW3
0x04141Read PortDSW1
0x04151Read PortDSW2
0x04181Read/Writehcastle_gfxbank_r, hcastle_gfxbank_w
0x0600-0x06FF256RAM Device Write, Sharedpalette, palette_device, write_indirect, palette
0x0700-0x1FFF6400RAM
0x2000-0x2FFF4096RAM Write, Sharedhcastle_pf1_video_w, pf1_videoram
0x3000-0x3FFF4096RAM, Sharedspriteram
0x4000-0x4FFF4096RAM Write, Sharedhcastle_pf2_video_w, pf2_videoram
0x5000-0x5FFF4096RAM, Sharedspriteram2
0x6000-0x7FFF8192ROM Bankbank1
0x8000-0xFFFF32768ROM
Memory Area:sound_map
Address RangeLengthFunctionDescription
0x0000-0x7FFF32768ROM
0x8000-0x87FF2048RAM
0x9800-0x987F128Device Read/Writek051649, k051649_device, k051649_waveform_r, k051649_waveform_w
0x9880-0x988910Device Writek051649, k051649_device, k051649_frequency_w
0x988A-0x988E5Device Writek051649, k051649_device, k051649_volume_w
0x988F1Device Writek051649, k051649_device, k051649_keyonoff_w
0x98E0-0x98FF32Device Read/Writek051649, k051649_device, k051649_test_r, k051649_test_w
0xA000-0xA0012Device Read/Writeymsnd, ym3812_device, read, write
0xB000-0xB00D14Device Read/Writek007232, k007232_device, read, write
0xC0001Writesound_bank_w (/* 7232 bankswitch */)
0xD0001Device Readsoundlatch, generic_latch_8_device, read
 

ROM Map for this game

 
This is the ROM map for the game.  This should tell you what address the ROM is at, how big it is, what it's used for.   
Memory Area:audiocpu
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFF32768768e01.e4CRC(b9fff184) (Fluke: B937)
0x0000-0x7FFF32768768e01.e4CRC(b9fff184) (Fluke: B937)
Memory Area:gfx1
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFFF524288768c09.g21CRC(e3be3fdd) (Fluke: BB7B)
0x0000-0x7FFFF524288768c09.g21CRC(e3be3fdd) (Fluke: BB7B)
0x80000-0xFFFFF524288768c08.g19CRC(9633db8b) (Fluke: 386C)
0x80000-0xFFFFF524288768c08.g19CRC(9633db8b) (Fluke: 386C)
Memory Area:gfx2
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFFF524288768c04.j5CRC(2960680e) (Fluke: 5F3D)
0x0000-0x7FFFF524288768c04.j5CRC(2960680e) (Fluke: 5F3D)
0x80000-0xFFFFF524288768c05.j6CRC(65a2f227) (Fluke: 45DE)
0x80000-0xFFFFF524288768c05.j6CRC(65a2f227) (Fluke: 45DE)
Memory Area:k007232
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFFF524288768c07.e17CRC(01f9889c) (Fluke: 9E18)
0x0000-0x7FFFF524288768c07.e17CRC(01f9889c) (Fluke: 9E18)
Memory Area:maincpu
Address RangeLengthLabel/LocationDescription
0x8000-0xFFFF32768768p03.k12CRC(d509e340) (Fluke: A4BD)
0x10000-0x2FFFF131072768j06.k8CRC(42283c3e) (Fluke: CAFD)
0x10000-0x2FFFF131072768j06.k8CRC(42283c3e) (Fluke: CAFD)
Memory Area:proms
Address RangeLengthLabel/LocationDescription
0x0000-0x00FF256768c13.j21CRC(f5de80cb),007121 #0 sprite lookup table (Fluke: 4BD6)
0x0000-0x00FF256768c13.j21CRC(f5de80cb),007121 #0 sprite lookup table (Fluke: 4BD6)
0x0100-0x01FF256768c14.j22CRC(b32071b7),007121 #0 char lookup table (Fluke: 2CBB)
0x0100-0x01FF256768c14.j22CRC(b32071b7),007121 #0 char lookup table (Fluke: 2CBB)
0x0200-0x02FF256768c11.i4CRC(f5de80cb),007121 #1 sprite lookup table (same) (Fluke: 4BD6)
0x0200-0x02FF256768c11.i4CRC(f5de80cb),007121 #1 sprite lookup table (same) (Fluke: 4BD6)
0x0300-0x03FF256768c10.i3CRC(b32071b7),007121 #1 char lookup table (same) (Fluke: 2CBB)
0x0300-0x03FF256768c10.i3CRC(b32071b7),007121 #1 char lookup table (same) (Fluke: 2CBB)
0x0400-0x04FF256768b12.d20CRC(362544b8),priority encoder (not used) (Fluke: 888E)
0x0400-0x04FF256768b12.d20CRC(362544b8),priority encoder (not used) (Fluke: 888E)
© Copyright 2009-2025, ClassicSoft, LLC. All rights reserved
Powered by the ClassicSoft Web Content Framework V3