Poster | Thread |
mcbone
| |
on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever Posted on 29-May-2015 13:18:28
| | [ #1 ] |
|
|
|
Cult Member |
Joined: 24-May-2013 Posts: 535
From: Unknown | | |
|
| hello on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever i typed in his program into both computer`s 1 rem bbc 1 2 rem system$ 3 for a = 1 to 500 4 print a 5 next a run on both emulator and bbc was faster them any of the commodore from pet 2000 vic 20 c64 cbm 610,c128,c 16/plus 4,.... his program i found on a listing for apple iie any one who own bbc or any of computer i have list try it and see which one win ... and on all commodore i start program first by time c64 get to 99 bbc was on 200
just try on my brother 600 and bbc won it by time amiga was on 100 bbc was on 1000 i up for a = 1 to 2000
Last edited by mcbone on 29-May-2015 at 01:33 PM.
_________________ maybe i am dyslexia
An Apple a day keep bill gates away |
|
Status: Offline |
|
|
Thorham
| |
Re: on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever Posted on 29-May-2015 17:44:04
| | [ #2 ] |
|
|
|
Regular Member |
Joined: 5-Mar-2014 Posts: 183
From: Unknown | | |
|
| Crusty 8bit BASIC interpreters aren't a good indication of the speed of the machines they're running on. C64 BASIC for example was written for size, not for speed. |
|
Status: Offline |
|
|
Arnie
| |
Re: on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever Posted on 29-May-2015 18:13:42
| | [ #3 ] |
|
|
|
Cult Member |
Joined: 19-Jun-2004 Posts: 824
From: Swindon, UK, Earth somewhere in the galaxy | | |
|
| @mcbone
This doesn’t surprise me in the slightest. Although the BBC micros and CBM computers used the same family of processors the BBC's was clocked at twice the speed as the C64. That combined with the fact that the BBC micros probably had one of the best and fasted basic interpreters of the 8bit days means it was a very capable machine. The early models where hampered by the lack of memory though as they had a very memory intensive graphic system, unlike most machines of the time they could display different colours for individual pixels with no clash or limits bar only an 8 colour pallet. |
|
Status: Offline |
|
|
Jupp3
| |
Re: on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever Posted on 4-Jun-2015 20:23:33
| | [ #4 ] |
|
|
|
Super Member |
Joined: 22-Feb-2007 Posts: 1225
From: Unknown | | |
|
| @mcbone
I bet it will be slower on all systems, when you use floating point values, instead of integers.
Why would you use floating point? Of course there's no sensible answer, but on C64 basic, the default type is float.
So when you do f.ex. poke53280, 1, you're giving 53280.0f and 1.0f. Of course you can use integers instead (a%=53280: b%=1: pokea,b) BUT this will just slow things down, because in that case, the values will first be converted to float (before being converted back to integer internally).
Yes, that's really sucky design, but also (partially) explains the slow speed.
Of course every real programmer uses asm on every 8-bit platform, regardless how "good" the native basic implementation might be Last edited by Jupp3 on 04-Jun-2015 at 08:24 PM.
|
|
Status: Offline |
|
|
Deniil715
| |
Re: on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever Posted on 5-Jun-2015 7:45:58
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4236
From: Sweden | | |
|
| @Jupp3
Asm rulez! I'm in VB6 now, and that really sucks. Not that it has anything to do with this though... _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
Hypex
| |
Re: on my pc home computer i have beebem-bbc model b/ master 128 Emulator and c64 forever Posted on 5-Jun-2015 15:44:48
| | [ #6 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11204
From: Greensborough, Australia | | |
|
| @mcbone
How fast? The above FOR loop would take exactly one second on my C16 according to my teenage time tests. |
|
Status: Offline |
|
|