Famicom World

Family Computer => Famicom / Disk System => Topic started by: FAMICOM_87 on February 08, 2019, 06:41:57 am

Title: 6502 vs 8088
Post by: FAMICOM_87 on February 08, 2019, 06:41:57 am
Who will win :D ?  :crazy:
NOAC 6502 PAL mode 1.66MHz (Famiclone keyboard Chines clone)

VS

IBM PC Clone 8088 4.77MHz (Pravetz 16 Bulgarian clone)
;D

https://youtu.be/5OSrAfehBy0
Title: Re: 6502 vs 8088
Post by: maxellnormalbias on February 08, 2019, 12:17:15 pm
A bit off topic, but I have a Pravetz-16 motherboard collecting dust with no case or AT keyboard. I don't know why it's there, my family is Ukrainian, not Bulgarian, I guess they were distributed all over the USSR  ???

Ideally, what you want to do is put an Everdrive on the 65xx machine and MS-DOS on the other one, and write a simple routine in both CC65 and DJGPP to enumerate prime numbers, since that's usually a better stress test than counting.
Title: Re: 6502 vs 8088
Post by: UglyJoe on February 08, 2019, 04:11:06 pm
Ha, neat ;D
Title: Re: 6502 vs 8088
Post by: FAMICOM_87 on February 09, 2019, 01:12:44 am
I do not have Everdrive, only POWERPACK ,but it do not work on this keyboard famiclone :(  :redcart:
Cool that you have Pravetz 16 too :) Yes they where for export in the all USSR and other republics from eastern block :) you have to use XT keyboard , can you show pictures of you model :) ? :o
Actually DJGPP  is for 386 and above  https://en.wikipedia.org/wiki/DJGPP
Title: Re: 6502 vs 8088
Post by: 80sFREAK on February 10, 2019, 12:14:55 am
Incorrect competition. Family Basic is kinda integer and whatever-basic-in-Pravets is float point.
Title: Re: 6502 vs 8088
Post by: 80sFREAK on February 21, 2019, 08:10:08 am
Also in Family Basic is very slow output on the screen  ::)
Title: Re: 6502 vs 8088
Post by: P on February 22, 2019, 02:21:40 am
Well it's obviously a just for fun thing rather than a serious test. It's more like a NS-HuBASIC vs whatever that IBM PC clone is using.

A serious test might need a custom ROM rather than a pirated Family BASIC.
Title: Re: 6502 vs 8088
Post by: 80sFREAK on February 22, 2019, 08:51:44 am
P, right and not. FAMICOM_87 should try this code...

10 CLS:PRINT "START...":N=0
20 N=N+1:IF N<2000 THEN 20
30 PRINT "FINISH..."
40 END
Title: Re: 6502 vs 8088
Post by: FAMICOM_87 on February 22, 2019, 10:14:11 am
Quote from: 80sFREAK on February 22, 2019, 08:51:44 am
P, right and not. FAMICOM_87 should try this code...

10 CLS:PRINT "START...":N=0
20 N=N+1:IF N<2000 THEN 20
30 PRINT "FINISH..."
40 END



Oh I will ! :) thanks ,  80sFREAK    :D
Title: Re: 6502 vs 8088
Post by: P on February 22, 2019, 12:12:30 pm
OK so this will count upwards as before but without printing it on the screen to measure CPU performance more accurately.
I guess the effectiveness of the BASIC interpreter still has quite a large impact though.
Title: Re: 6502 vs 8088
Post by: UglyJoe on February 22, 2019, 08:47:34 pm
I suggested in the comments that he POKE and CALL an assembly routine to do the counting, but haven't had time to write it up and test it :-[
Title: Re: 6502 vs 8088
Post by: 80sFREAK on February 22, 2019, 10:47:28 pm
Quote from: P on February 22, 2019, 12:12:30 pm
OK so this will count upwards as before but without printing it on the screen to measure CPU performance more accurately.
Not CPU, but BASIC. There is a few tricks to make BASIC programms run a bit faster, nothing like a pure assembler, but still some speed up.

UJ, it's a cheat  :P
Title: Re: 6502 vs 8088
Post by: UglyJoe on February 23, 2019, 10:53:10 am
Quote from: 80sFREAK on February 22, 2019, 10:47:28 pm
UJ, it's a cheat  :P


It depends on what you're testing the performance of.  BASIC interpreter or CPU?
Title: Re: 6502 vs 8088
Post by: P on February 24, 2019, 11:19:36 am
And even if you are testing performance of BASIC I think the initial test was fine since it tests how fast the system counts and outputs on screen using its native BASIC.

Thread name suggests a CPU test though. :)
Title: Re: 6502 vs 8088
Post by: FAMICOM_87 on March 06, 2019, 08:11:51 pm
now the results of testing 80sFREAK's code :D + one  little bonus :)

https://youtu.be/elZ1KGDq5uQ

Bonus material :)

https://youtu.be/ZGEoqmv_Ovc
Title: Re: 6502 vs 8088
Post by: 80sFREAK on March 07, 2019, 04:11:14 am
Nice! :)
Try this one....

10 CLS
20 N=0:A=0:B=2:PRINT"START"
30 N=N+1:A=B*B:IF N<2000 THEN 30
40 PRINT"FINISH":END

And one more with replaced "A=B*B" with "A=B/B".
Next test going to be with SQR, SIN, COS etc...  ;)
Title: Re: 6502 vs 8088
Post by: FAMICOM_87 on March 07, 2019, 05:03:27 am
 80sFREAK , it is so tedious to make this setup every time, because I have to open the XT and disconect the HDDs to make it boot from ROM basic ,and have to move the TV and famiclone  next to it   ::) :-\
Can we go strait to the "serious" testing   :o  :-[  :question:

:crazy:

BTW the PC clone have 8087 , can we make some use of it ?  ???
Title: Re: 6502 vs 8088
Post by: 80sFREAK on March 07, 2019, 09:52:20 am
IIRC, 8087 used by early CADs only.