- Top Stats

Top Posters Top Topic Starters Top Topics
Gryzor 2526
TFM 1672
MacDeath 1273
Puresox 1054
arnoldemu 1030
Gryzor 100
Puresox 65
ComSoft612... 63
cpc4eva 55
Xyphoe 53
Converted GX40... - 258908 Views remax 00:14, 05 May 15
R-Type - 95169 Views Keith A Go... 05:08, 25 February 10
Converting a g... - 75926 Views FRAGKI-201... 01:30, 28 March 13
Quick question... - 69254 Views sigh 18:17, 07 December 10
Bubble Bobble ... - 65749 Views Xyphoe 07:54, 05 January 11


Author Topic: SPEED-UP patch FOR Pac-Man emulator for CPC by SyX & TotO  (Read 15353 times)

0 Members and 1 Guest are viewing this topic.

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.210
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2379
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

Code: [Select]
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"


« Last Edit: 15:04, 07 June 14 by TotO »
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 14.809
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 2835
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

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.219
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1143
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

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
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

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.219
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1143
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*

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.210
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2379
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)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
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

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.219
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1143
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.