Previous Thread
Next Thread
Print Thread
Page 9 of 10 1 2 7 8 9 10
Re: more progresses on Commodore tapes... [Re: Curt Coder] #44571
09/09/08 06:18 PM
09/09/08 06:18 PM
Joined: May 2006
Posts: 104
Gurmoneh
F-3582 Offline
Senior Member
F-3582  Offline
Senior Member
Joined: May 2006
Posts: 104
Gurmoneh
Considering the size of a standard C64 cart (about 6x8x2cm) I highly doubt the first option wink

I fear someone made a practical joke by dumping 64 banks into 64 separate files.

Last edited by F-3582; 09/09/08 06:20 PM.
Re: more progresses on Commodore tapes... [Re: Curt Coder] #44572
09/09/08 06:26 PM
09/09/08 06:26 PM
Joined: Jan 2006
Posts: 3,687
Trondheim, Norway
etabeta78 Offline
Very Senior Member
etabeta78  Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
Trondheim, Norway
well, as it happens with NES mappers [1], one thing is to support existing formats (.crt in this case, which is at least better than iNES), another thing is to hunt down the carts to redump them and obtain MAME-quality dumps...

on the long term, the latter would be more desirable (even if quite resource-consuming), but until a good amount of carts is bought and preserved, to support as well the existing format seems a good compromise (because it allows us to test more hardware features)

Re: more progresses on Commodore tapes... [Re: etabeta78] #44573
09/09/08 06:37 PM
09/09/08 06:37 PM
Joined: Mar 2001
Posts: 16,072
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,072
USA
Probably the cart was dumped via a program on the C64 and that's why it was done in small segments. And I totally agree with supporting existing formats while we work out something better. I am not Haze :-)

Re: more progresses on Commodore tapes... [Re: etabeta78] #44576
09/09/08 07:46 PM
09/09/08 07:46 PM
Joined: Mar 2005
Posts: 42
Stockholm, Sweden
I
Iggy Drougge Offline
Member
Iggy Drougge  Offline
Member
I
Joined: Mar 2005
Posts: 42
Stockholm, Sweden
Originally Posted By etabeta78
in the hope someone shows up saying "I have an european c128" or "I can confirm that..." smile

I have a European C128 and two European C128D. I can dump the C128 ROM next week if you need.

Re: more progresses on Commodore tapes... [Re: Iggy Drougge] #44578
09/09/08 08:18 PM
09/09/08 08:18 PM
Joined: Mar 2006
Posts: 1,027
PA, USA
L
Lord Nightmare Offline
Very Senior Member
Lord Nightmare  Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,027
PA, USA
I have an ntsc c128 rev1 (with 6581 sid, NOT 8580! this is from the first year it was made!) and the original ?oldest non proto? roms in it. I believe its all dumped already though, all I really need to do is get the proper Uxx location for the chips.

LN


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Re: more progresses on Commodore tapes... [Re: Lord Nightmare] #44631
09/12/08 03:27 AM
09/12/08 03:27 AM
Joined: Mar 2001
Posts: 16,072
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,072
USA
GCC 4.3 is erroring on a bug in the current C64 code.

spritemulti[4], spritemulti_buffer[4];

[...]

for (i=0; i < 5; i++)
vic2.spritemulti[i] = vic2.spritemulti_buffer[i];

That's some memory trashing right there.

I bumped the array sizes to [5] so GCC 4.3 peeps can compile, but that's obviously a bug smile

Last edited by R. Belmont; 09/12/08 03:29 AM.
Re: more progresses on Commodore tapes... [Re: R. Belmont] #44659
09/12/08 04:21 PM
09/12/08 04:21 PM
Joined: Sep 2006
Posts: 61
R
robiza Offline
Member
robiza  Offline
Member
R
Joined: Sep 2006
Posts: 61
thanks smile
fixed

now there's another problem

in m6502:
static ADDRESS_MAP_START(m6510_mem, ADDRESS_SPACE_PROGRAM, 8)
AM_RANGE(0x0000, 0x0001) AM_READWRITE(m6510_read_0000, m6510_write_0000)
ADDRESS_MAP_END

this line modified the memory map and implement cpu input ports
these ports are used for c64 tape (it's play button pressed?)
unfortunatly these lines are not active and location 0 and 1 are now only RAM
i think there's a core bug (in memory.c!?)


Re: more progresses on Commodore tapes... [Re: Iggy Drougge] #44673
09/13/08 05:15 AM
09/13/08 05:15 AM
Joined: Jan 2006
Posts: 3,687
Trondheim, Norway
etabeta78 Offline
Very Senior Member
etabeta78  Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
Trondheim, Norway
Originally Posted By Iggy Drougge
I have a European C128 and two European C128D. I can dump the C128 ROM next week if you need.


That would really be great! in the c128d also the floppy drive has a rom which it would be nice to have verified. You can submit them through the contact page http://www.mess.org/contacts.php (to the coordinator)

Also it would be cool to have pictures of both the keyboard and the board inside smile

Thanks for the help

Re: more progresses on Commodore tapes... [Re: robiza] #44677
09/13/08 08:24 AM
09/13/08 08:24 AM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
judge  Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
Originally Posted By robiza
thanks smile
fixed

now there's another problem

in m6502:
static ADDRESS_MAP_START(m6510_mem, ADDRESS_SPACE_PROGRAM, 8)
AM_RANGE(0x0000, 0x0001) AM_READWRITE(m6510_read_0000, m6510_write_0000)
ADDRESS_MAP_END

this line modified the memory map and implement cpu input ports
these ports are used for c64 tape (it's play button pressed?)
unfortunatly these lines are not active and location 0 and 1 are now only RAM
i think there's a core bug (in memory.c!?)



I think this is caused by some fixes for the mcs-48 cores. If the driver overrides the locations used in the cpu core map then those are used, the behavior used to be the other way around i believe.

Re: more progresses on Commodore tapes... [Re: judge] #44681
09/13/08 09:02 AM
09/13/08 09:02 AM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
judge  Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
This update should fix the cassette issue:
Code:
Index: src/mess/drivers/c64.c
===================================================================
--- src/mess/drivers/c64.c	(revision 3249)
+++ src/mess/drivers/c64.c	(working copy)
@@ -342,7 +342,7 @@
  *************************************/
 
 static ADDRESS_MAP_START(ultimax_mem , ADDRESS_SPACE_PROGRAM, 8)
-	AM_RANGE(0x0000, 0x0fff) AM_RAM AM_BASE(&c64_memory)
+	AM_RANGE(0x0002, 0x0fff) AM_RAM AM_REGION( "c64_memory", 2 )
 	AM_RANGE(0x8000, 0x9fff) AM_ROM AM_BASE(&c64_roml)
 	AM_RANGE(0xd000, 0xd3ff) AM_READWRITE(vic2_port_r, vic2_port_w)
 	AM_RANGE(0xd400, 0xd7ff) AM_READWRITE(sid6581_0_port_r, sid6581_0_port_w)
@@ -352,7 +352,7 @@
 ADDRESS_MAP_END
 
 static ADDRESS_MAP_START(c64_mem, ADDRESS_SPACE_PROGRAM, 8)
-	AM_RANGE(0x0000, 0x7fff) AM_RAM AM_BASE(&c64_memory)
+	AM_RANGE(0x0002, 0x7fff) AM_RAM AM_REGION( "c64_memory", 2 )
 	AM_RANGE(0x8000, 0x9fff) AM_READWRITE(SMH_BANK1, SMH_BANK2)		/* ram or external roml */
 	AM_RANGE(0xa000, 0xbfff) AM_ROMBANK(3) AM_WRITEONLY				/* ram or basic rom or external romh */
 	AM_RANGE(0xc000, 0xcfff) AM_RAM
@@ -601,6 +601,8 @@
 
 ROM_START( max )
 	ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
+
+	ROM_REGION( 0x1000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 ROM_START( c64 )
@@ -613,6 +615,8 @@
 	ROM_SYSTEM_BIOS(2, "rev2", "Kernal rev. 2" )
 	ROMX_LOAD( "901227-02.bin", 0x12000, 0x2000, CRC(a5c687b3) SHA1(0e2e4ee3f2d41f00bed72f9ab588b83e306fdb13), ROM_BIOS(3) )	// Kernal
 	ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )	// Character
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 #define rom_c64pal	rom_c64
@@ -622,6 +626,8 @@
 	ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
 	ROM_LOAD( "906145-02.bin", 0x12000, 0x2000, CRC(3a9ef6f1) SHA1(4ff0f11e80f4b57430d8f0c3799ed0f0e0f4565d) )
 	ROM_LOAD( "906143-02.bin", 0x14000, 0x1000, CRC(1604f6c1) SHA1(0fad19dbcdb12461c99657b2979dbb5c2e47b527) )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 
@@ -633,6 +639,8 @@
 	ROMX_LOAD( "charswe.bin",0x14000, 0x1000, CRC(bee9b3fd) SHA1(446ae58f7110d74d434301491209299f66798d8a), ROM_BIOS(1) )
 	ROM_SYSTEM_BIOS(1, "default", "Swedish Characters (Alt)" )
 	ROMX_LOAD( "charswe2.bin",0x14000, 0x1000, CRC(377a382b) SHA1(20df25e0ba1c88f31689c1521397c96968967fac), ROM_BIOS(2) )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 #define rom_c64swe	rom_vic64s
@@ -642,6 +650,8 @@
 	ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
 	ROM_LOAD( "901246-01.bin", 0x12000, 0x2000, CRC(789c8cc5) SHA1(6c4fa9465f6091b174df27dfe679499df447503c) )
 	ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 #define rom_cbm4064 rom_pet64
@@ -654,6 +664,8 @@
 	ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
 
 	VC1541_ROM( "cpu_vc1540" )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 ROM_START( dx64 )
@@ -664,6 +676,8 @@
     // vc1541 roms were not included in submission
     VC1541_ROM ("cpu_vc1540")
 //	VC1541_ROM (" ")
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 ROM_START( vip64 )
@@ -673,6 +687,8 @@
 	ROM_LOAD( "charswe.bin", 0x14000, 0x1000, CRC(bee9b3fd) SHA1(446ae58f7110d74d434301491209299f66798d8a) )
 
 	VC1541_ROM( "cpu_vc1540" )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 
@@ -681,6 +697,8 @@
 	/* standard basic, modified kernel */
 	ROM_LOAD( "251913-01.bin", 0x10000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )
 	ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 #define rom_c64cpal		rom_c64c
@@ -691,6 +709,8 @@
 	/* standard basic, modified kernel */
 	ROM_LOAD( "390852-01.bin", 0x10000, 0x4000, CRC(b0a9c2da) SHA1(21940ef5f1bfe67d7537164f7ca130a1095b067a) )
 	ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
+
+	ROM_REGION( 0x8000, "c64_memory", ROMREGION_ERASEFF )
 ROM_END
 
 
Index: src/mess/machine/c64.c
===================================================================
--- src/mess/machine/c64.c	(revision 3249)
+++ src/mess/machine/c64.c	(working copy)
@@ -983,6 +983,8 @@
 	cpunum_set_info_fct(0, CPUINFO_PTR_M6510_PORTREAD, (genf *) c64_m6510_port_read);
 	cpunum_set_info_fct(0, CPUINFO_PTR_M6510_PORTWRITE, (genf *) c64_m6510_port_write);
 
+	c64_memory = memory_region( machine, "c64_memory" );
+
 	if (!ultimax) 
 	{
 		UINT8 *mem = memory_region(machine, "main");

Page 9 of 10 1 2 7 8 9 10

Who's Online Now
3 registered members (Stick, Cpt. Pugwash, 1 invisible), 20 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,607
Posts112,529
Members4,828
Most Online296
Dec 5th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.031s Queries: 15 (0.013s) Memory: 5.7338 MB (Peak: 5.9596 MB) Zlib enabled. Server Time: 2018-12-19 16:19:04 UTC