News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

SPEED-UP patch FOR Pac-Man emulator for CPC by SyX & TotO

Started by 40Crisis, 23:16, 03 June 14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TotO

Here my 2cts... This simple program allow to customize the ghosts names.
After running it, the PACMAN.6J ROM is written. (old=PACMAN.BAK)
Ingame, from the TAB menu, chose: GHOSTS NAMES  ALTERNATE

5 'PATCH-MAN ALT NAMES V1.0 / 2014 TotO
10 MEMORY &3FFF:LOAD"PACMAN.6J",&4000
20 DIM col$(3,2),name$(3,2),nick$(3,2)
30 FOR j=0 TO 2:FOR i=0 TO 3:READ col$(i,j),name$(i,j),nick$(i,j):NEXT i,j
40 PRINT:PRINT"PAC-MAN ALTERNATE NAMES":PRINT
50 PRINT"1- Enter your own incredible names"
60 PRINT"2- Use my better names than yours"
70 PRINT"3- Use the MIDWAY alternate names"
80 PRINT"4- Use the NAMCO alternate names":PRINT
90 a$=INKEY$
100 IF a$="1" THEN d=2:GOTO 150
110 IF a$="2" THEN d=2:GOTO 200
120 IF a$="3" THEN d=0:GOTO 200
130 IF a$="4" THEN d=1:GOTO 200
140 GOTO 90
150 'enter your names
160 FOR i=0 TO 3
170 PRINT col$(i,d);:INPUT" ghost name: ",name$(i,d)
180 PRINT col$(i,d);:INPUT" ghost nick: ",nick$(i,d)
190 NEXT i
200 'format strings
210 FOR i=0 TO 3
220 WHILE LEN(name$(i,d))<8 : name$(i,d)=name$(i,d)+"@" : WEND
230 t$=nick$(i,d) : IF LEN(t$)>6 THEN t$=MID$(t$,1,6)
240 t$="&"+t$+"&" : WHILE LEN(t$)<8 : t$=t$+"@" : WEND : nick$(i,d)=t$
250 NEXT i
260 'patch rom
270 FOR i=0 TO 3
280 addr=&4DD6+(i*31)
290 FOR c=0 TO 7
300 POKE addr+c,ASC(MID$(name$(i,d),c+1,1))
310 POKE addr+15+c,ASC(MID$(nick$(i,d),c+1,1))
320 NEXT c,i
330 SAVE"PACMAN.6J",b,&4000,4096
340 PRINT:PRINT"PATCH DONE!":PRINT
350 END
360 ' MIDWAY
370 DATA "RED","AAAAAAAA","BBBBBB"
380 DATA "PURPLE","CCCCCCCC","DDDDDD"
390 DATA "BLUE","EEEEEEEE","FFFFFF"
400 DATA "ORANGE","GGGGGGGG","HHHHHH"
410 ' NAMCO
420 DATA "RED","URCHIN","MACKY"
430 DATA "PURPLE","ROMP","MICKY"
440 DATA "BLUE","STYLIST","MUCKY"
450 DATA "ORANGE","CRYBABY","MOCKY"
460 ' CUSTOM
470 DATA "RED","REDMOND","ASCII"
480 DATA "PURPLE","COLCLASH","SPECCY"
490 DATA "BLUE","COMMODO","BREADY"
500 DATA "ORANGE","POKEY","NOISE"



"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Gryzor

Finally! I can now put a CPC in my arcade cabinet and no one will know... :D

@TotO : lol, this is just what Pacman was missing :D

CraigsBar

Sorry to Dig up a long dead thread. but I thought yu might like to know...


I just No$Cart-ed my copy of PacMan Emulator 1.1 and it works absolutely perfectly in the c4cpc device.


I won't post the resulting image here (due to the copyrighted arcade rom images), but if anyone was thinking of trying it, I can confirm it works.


Regards
Craig
IRC:  #Retro4All on Freenode

TFM

So... time to use the Plus's hardware sprites ;-)

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

CraigsBar

Quote from: TFM on 01:44, 11 April 15
So... time to use the Plus's hardware sprites ;-)
now I am sure that would be another speed up. And more colours, but for pacman not really *needed*
IRC:  #Retro4All on Freenode

TotO

Has we spoke with SyX two years ago, the PLUS sprites should be fine for a Ms. Pac-Man version that require more complex things to be properly achieved on CPC.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

TFM

Well, IMHO programs running in Cart should use Plus features, else put em in a regular ROM (or some ROMs), so everybody can use them.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

CraigsBar

Quote from: TFM on 17:12, 13 April 15
Well, IMHO programs running in Cart should use Plus features, else put em in a regular ROM (or some ROMs), so everybody can use them.  :)
Main reason for putting tape or disc software onto cart as I see it.... Carts are even easier (Flashier) than eproms or xmems and of course, where do you connect an xmem to a gx4000?


OK the current no$cart does not produce gx4000 64k workable carts, but @arnoldemu is working on that (other than patching each one individually) so soon we could have the vast majority og the CPC archive convertable to the gx4000. and with the c4cpc, this is a good thing, extra features used or not.
IRC:  #Retro4All on Freenode

40Crisis

Hello,

The pacman emulator is running at 83% of the arcade version speed.
.
It's because the game is rendered at 50 Hz (50.08Hz exactly on the CPC if I'm right) compared to 60.61Hz for the arcade version.

I wrote a small program called Pac Speed Tweaker to alter speed in the rom files in order to attempt to "fill the gap".

The speed should be now more closer to the original.

This hasn't been tested too much though.

See .txt in zip archive for info.

Enjoy.

VincentGR

I cannot apply the patch on both machines, I probably do something wrong  :picard:

VincentGR

Ok got it.
I used Winape's disk editor.
With CPCDiskXP is working by adding Binary header.

Powered by SMFPacks Menu Editor Mod