BBC BASIC for Windows
« "Starfield" (yet another) - BB4W/BBCSDL »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:54pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: "Starfield" (yet another) - BB4W/BBCSDL  (Read 428 times)
David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx "Starfield" (yet another) - BB4W/BBCSDL
« Thread started on: Feb 5th, 2017, 04:37am »

This is just testing some things out re. BBCSDL. The program length exceeds the maximum allowed limit for this Conforum, so here is a link to the program in plain ASCII text (copy & paste it in to BB4W or BBCSDL):

http://www.proggies.uk/temp/Starfield_BBCSDL_x86_ARM_v100.txt

I get ~36 fps on Android (ARM), and ~40 fps if Wait% is set to FALSE.

I studiously avoided floating point math in the main loop (good for ARM, but perhaps not so great for x86).

I notice that disabling WAIT results in only a few % more CPU usage when running on Android, and the result looks a little nicer.


David.
--

User IP Logged

marsFS
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 6
xx Re: "Starfield" (yet another) - BB4W/BBC
« Reply #1 on: Nov 2nd, 2017, 04:55am »

Nice! smiley
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls