Search found 48 matches
- Fri Sep 11, 2020 4:19 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
I'm currently building a test suite so I can make sure I honour the syntax and behaviour. I've come so far I nearly forgot the purpose of all this which was to create an update BAS135 with my 3D stuff and VFP for the PiTubeDirect. The cross-compile still works though, so I'd better get it tested.
- Fri Sep 11, 2020 3:10 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
I've made the FOR loops behave as expected. Trig performance is still slow, probably because this is using FP emulation and for strings I'm using strcpy etc. which likely aren't as efficient as the hand-coded ARM in BBC BASIC. Assuming (once again) that the code is running correctly, it now runs the...
- Tue Sep 08, 2020 4:16 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
Don’t worry, this is just a pet project and won’t be released. I’ll just keep it for my own personal RISC OS projects...it’s more a proof it can be done than anything. The FOR and REPEAT thing is definitely a conundrum. I’m surprised how slow the FOR loop is considering how little it’s doing. I was ...
- Tue Sep 08, 2020 2:52 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
For context, I'm not doing this as a "new" BBC BASIC, I did some 3D stuff on RISC OS before and I wanted to add some stuff to my own BASIC to make writing games more fun, think like BlitzBasic or similar. My 3D stuff is mentioned in the show report https://www.riscository.com/2019/show-rep...
- Tue Sep 08, 2020 2:49 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
The REPEAT loops seem to be extremely fast and the FOR loops surprisingly slow. Is this what you would expect? This is all relatively new code, I'm converting to a bytecode of my own, this does of course mean I need to know types of things at compile time so even though it's interpreted, supporting...
- Tue Sep 08, 2020 2:08 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
Actually, I think the numbers are correct, not off by 100 as I thought. I've double checked, are these numbers really that insane?
- Tue Sep 08, 2020 1:57 pm
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
I may have a decimal place off somewhere as I needed more digits so roughly altered it!!!
The relative ratios should be correct though.
- Tue Sep 08, 2020 10:03 am
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
Re: CLOCKSP on a BBC BASIC "emulator" under x64
I got it to work, it was overflow. I changed from float to double which allowed it to run. Results are: BBC BASIC CPU Timing Program Really real REPEAT loop 114206 MHz Integer REPEAT loop 66760 MHz Really real FOR loop 34316 MHz Integer FOR loop 6532 MHz Trig/Log test 1250909 MHz String manipulation...
- Tue Sep 08, 2020 9:23 am
- Forum: 32-bit acorn software: other
- Topic: CLOCKSP on a BBC BASIC "emulator" under x64
- Replies: 19
- Views: 1117
CLOCKSP on a BBC BASIC "emulator" under x64
I've written my own BBC BASIC implementation using my own VM and bytecodes (for fun). However, it runs so fast that I'm sure that CLOCKSP is overflowing variables, although it's entirely possible there is an error in my code somewhere. If I add a 1 microsecond pause at every bytecode it gives a resu...
- Mon Jul 13, 2020 9:01 am
- Forum: 8-bit acorn hardware
- Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 290MHz)
- Replies: 1336
- Views: 188342
Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
An out of nowhere question, is there an ARM assembler with VFP available for the co-pro? Even something written in BASIC would work well enough for what I need. I'm trying to port over some code I did for RISC OS using the inline assembler. I don't want to cross-assemble from my Linux machine, I wan...
- Tue Jul 07, 2020 8:14 pm
- Forum: 8-bit acorn hardware
- Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 290MHz)
- Replies: 1336
- Views: 188342
Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Those numbers are amazing, but I was thinking of the inline assembler itself.MogKupo wrote: ↑Tue Jul 07, 2020 5:41 pmI'm not actually sure but given these results it seems fast floating point of some sort is supported..
http://rinoa.kupo.be:9090/95WLzJWx/file_4858.jpg
- Tue Jul 07, 2020 3:04 pm
- Forum: 8-bit acorn hardware
- Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 290MHz)
- Replies: 1336
- Views: 188342
Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
After a bit of a hiatus with work and lockdown and 3 kids driving me crazy, I'm back to looking at projects. I did a lot of RISC OS stuff last year (3D engine etc.) but I want to have a go at doing something for the PiTubeDirect (possibly/probably in ARM native mode as it seems kinda cool). Obviousl...
- Wed Aug 21, 2019 11:13 am
- Forum: wanted
- Topic: A3000 thru RiscPC
- Replies: 6
- Views: 803
Re: A3000 thru RiscPC
With a mouse and working keyboard I am interested. I have a poorly A4000 with track damage if you fancy a project as well 
I tried fixing myself but I'm struggling to solder with my eyes!
I tried fixing myself but I'm struggling to solder with my eyes!
- Wed Aug 21, 2019 10:24 am
- Forum: wanted
- Topic: A3000 thru RiscPC
- Replies: 6
- Views: 803
Re: A3000 thru RiscPC
By bizarre coincidence I just posted up my A3020 for sale. https://stardot.org.uk/forums/viewtopic.php?f=8&t=17735 Not too far from Nottingham to Cambridge if you want to pop down! :D Kind Regards Andy I would have preferred a machine with a mouse, and little concerned with the keyboard not bei...
- Wed Aug 21, 2019 9:03 am
- Forum: general
- Topic: RISC OS presentation to my Linux user group
- Replies: 7
- Views: 1138
Re: RISC OS presentation to my Linux user group
I'm not sure we would want that though. It wouldn't fit the RISC OS look & feel. It would however tick another box!
- Tue Aug 20, 2019 6:24 pm
- Forum: wanted
- Topic: A3000 thru RiscPC
- Replies: 6
- Views: 803
A3000 thru RiscPC
Does anybody have a working, preferably good condition 32 bit machine for sale? A3000 would be nice, but anything up to RiscPC would be considered.
Prefer to collect. I'm Nottingham based.
Prefer to collect. I'm Nottingham based.
- Tue Aug 20, 2019 5:18 pm
- Forum: other vintage hardware, software and languages
- Topic: Hardware for retro 3d stuff
- Replies: 2
- Views: 548
Re: Hardware for retro 3d stuff
Planar graphics are painful! Reminds me of programming EGA back in the day!
16 colour us definitely no fun for shading and the VIDC palette isn't great.
I want to stick in the Acorn world I think. I have been thinking of investing in a RiscPC but feel the Pi is similar enough in some ways.
16 colour us definitely no fun for shading and the VIDC palette isn't great.
I want to stick in the Acorn world I think. I have been thinking of investing in a RiscPC but feel the Pi is similar enough in some ways.
- Tue Aug 20, 2019 1:16 pm
- Forum: other vintage hardware, software and languages
- Topic: Hardware for retro 3d stuff
- Replies: 2
- Views: 548
Hardware for retro 3d stuff
I'm playing around with some 3D stuff, and had some pretty nice gouraud shaded 3D stuff going on RISC OS on my Pi. It looks great and performs excellently using VFP instructions but it's hardly retro! I want get something similar going on an older machine... I have my Master with Pi co-pro which cou...
- Sun Aug 18, 2019 1:33 pm
- Forum: general
- Topic: RISC OS presentation to my Linux user group
- Replies: 7
- Views: 1138
Re: RISC OS presentation to my Linux user group
I'm not sure I converted anybody yet but there was interest. The boot speed impressed as did the ease of getting coding.
It's a difficult sell though with the lack of certain categories of software, such as real presentation software for instance. I used Linux to present..
It's a difficult sell though with the lack of certain categories of software, such as real presentation software for instance. I used Linux to present..
- Fri Aug 16, 2019 1:43 pm
- Forum: 8-bit acorn hardware
- Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 290MHz)
- Replies: 1336
- Views: 188342
Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Thanks for the advice. Ordered a Zero WH.
I'm going to try and port some of my RISC OS 3D code over and see how much I can eek out of my 128 for graphics. I know right now that video write speed will be the bottleneck obviously.
Daryl.
I'm going to try and port some of my RISC OS 3D code over and see how much I can eek out of my 128 for graphics. I know right now that video write speed will be the bottleneck obviously.
Daryl.
- Fri Aug 16, 2019 11:34 am
- Forum: 8-bit acorn hardware
- Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 290MHz)
- Replies: 1336
- Views: 188342
Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Just a quick question, I had a Pi 3B+ on my PiTubeDirect but reused it for regular RISC OS stuff. Is the Pi Zero still good for use? I presume not wildly slower than the 3B+? I don't mind buying either as they are both cheap enough, but just feels "neater" having a smaller daughterboard in...
- Thu Aug 15, 2019 9:08 am
- Forum: general
- Topic: RISC OS presentation to my Linux user group
- Replies: 7
- Views: 1138
RISC OS presentation to my Linux user group
So tonight I'm doing an Acorn history and RISC OS presentation and demonstration to my Linux user group (nottslug).
I'm not sure if I'll convert anybody but I'm sure it'll be interesting!
I'm not sure if I'll convert anybody but I'm sure it'll be interesting!
- Wed Aug 14, 2019 12:50 pm
- Forum: programming
- Topic: !GCC on RISC OS with -O2 and cexpf
- Replies: 5
- Views: 820
Re: !GCC on RISC OS with -O2 and cexpf
I would highly recommend for performance that you use fixed point representation for your matrix maths, and use a sine table to lookup sines/cosines rather than calculating them with sinf()/cosf(). Also, remember there are some nice trig identities you can use to avoid multiplications: e.g. sin A *...
- Wed Aug 14, 2019 12:19 pm
- Forum: programming
- Topic: !GCC on RISC OS with -O2 and cexpf
- Replies: 5
- Views: 820
Re: !GCC on RISC OS with -O2 and cexpf
It's the latest version from !Packman.
I don't actually do any complex number stuff myself, it seems to be a compiler optimisation. Some online searching suggests changing to doubles and it no longer does it. I have gcc to leave the intermediate assembler so I will take a look at it.
I don't actually do any complex number stuff myself, it seems to be a compiler optimisation. Some online searching suggests changing to doubles and it no longer does it. I have gcc to leave the intermediate assembler so I will take a look at it.
- Wed Aug 14, 2019 9:37 am
- Forum: programming
- Topic: !GCC on RISC OS with -O2 and cexpf
- Replies: 5
- Views: 820
!GCC on RISC OS with -O2 and cexpf
In my 3D matrices code there are a bunch of trig functions doing rotation. If I run GCC/make normally, I get a working executable, but if I use any optimisation flags such as -O1 then I get a link error with it unable to find cexpf. A google suggests that GCC is doing some clever optimisation where ...
- Tue Aug 13, 2019 3:11 pm
- Forum: 32-bit acorn emulators
- Topic: RPCEmu real speed
- Replies: 3
- Views: 1325
- Tue Aug 13, 2019 11:40 am
- Forum: 32-bit acorn emulators
- Topic: RPCEmu real speed
- Replies: 3
- Views: 1325
RPCEmu real speed
I might be being dumb, ArcEm of course runs at native speed, but RPCEmu runs as fast as possible. This is great when doing things like compiles (faster than the Pi) but I want to test whether my stuff will run at a reasonable speed on a real machine. So, does RPCEmu bother at all trying to be realis...
- Tue Aug 13, 2019 10:12 am
- Forum: new projects in development: games
- Topic: Retro style low-res or not?
- Replies: 10
- Views: 1677
Re: Retro style low-res or not?
Thanks.
You do have me wondering just how realistic it is to do this on a Master. Possibly, but would be a ton of work!
You do have me wondering just how realistic it is to do this on a Master. Possibly, but would be a ton of work!
- Tue Aug 13, 2019 8:49 am
- Forum: new projects in development: games
- Topic: Retro style low-res or not?
- Replies: 10
- Views: 1677
Re: Retro style low-res or not?
Is it possible to upload videos here or do I need to post to something like YouTube and share a link?
- Sat Aug 10, 2019 8:52 pm
- Forum: new projects in development: games
- Topic: Retro style low-res or not?
- Replies: 10
- Views: 1677
Re: Retro style low-res or not?
I'm currently considering some mixed wireframe and filled polygon Outrun style (the art style as well as game).
Not TOO difficult and MAY look retro in a fun way.
Not TOO difficult and MAY look retro in a fun way.