Go to advanced search

by DexOS
Fri Nov 15, 2013 11:01 am
Forum: Bare metal, Assembly language
Topic: Test your compilers!
Replies: 37
Views: 7115

Re: Test your compilers!

As for code quality, it's /all/ still way better than most non-hand-crafted assembler (and the majority of assembler programmers are using primitive macro-based stuff like Dex's compiler rather than coding everything in assembler by hand), and vastly more maintainable. I think this comment is a bit...
by DexOS
Mon Nov 11, 2013 4:42 am
Forum: Bare metal, Assembly language
Topic: Debugging Bare-Metal Programs
Replies: 18
Views: 8962

Re: Debugging Bare-Metal Programs

You could also send debug info by Uart using one of these:
http://www.dex-os.com/DexBasic/Lesson2.htm
by DexOS
Fri Nov 08, 2013 2:38 am
Forum: RISCOS
Topic: UK OS on UK Computer
Replies: 18
Views: 4365

Re: UK OS on UK Computer

Note: when i say its not a good desktop OS, i am talking the for the masses here, i could easy use it everyday, but i mostly only code or browse the internet.
Most users need protection from them self's .
by DexOS
Fri Nov 08, 2013 1:08 am
Forum: RISCOS
Topic: UK OS on UK Computer
Replies: 18
Views: 4365

Re: UK OS on UK Computer

I think that as the subject as turned to the rights and wrongs of the direction of RISC OS. That maybe its time do a rethink about the way RISC OS does things. For example there is no way that RISC OS is going to be a desktop OS without turning it in linux. But that's the way it's going, any assembl...
by DexOS
Thu Nov 07, 2013 3:34 am
Forum: RISCOS
Topic: UK OS on UK Computer
Replies: 18
Views: 4365

Re: UK OS on UK Computer

If RISC OS does go the C way, what do you think about doing what freedos did with dos, but we would do it for RISC OS.
Maybe call it "FreeRISCOS".
That's why when i program on RISC OS i am using alot of my own functions.
I think we need to come up with a type of portable assembler, maybe using macros.
by DexOS
Thu Nov 07, 2013 2:11 am
Forum: RISCOS
Topic: UK OS on UK Computer
Replies: 18
Views: 4365

Re: UK OS on UK Computer

I share your sentiment, i am so pleased that the PI was born, its very rare these days for a product to be announced with a fan fair and make it to market and at the price it was announced at, the team need to be given a lot of credit. And the RISC OS is a perfect match. And both are from the UK, is...
by DexOS
Wed Nov 06, 2013 6:24 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Thanks i will give it a try, yes at the time i was running at 800*600 and got buffer size of 6mb :? . I will try at a higher res. Note: I was on a very old ver of RISC OS, but today i got the latest ver. Ok it apears that the row length is significantly greater than the visable width. I think that ...
by DexOS
Wed Nov 06, 2013 3:39 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Are you talking about something like this or have i misunderstood you ?
https://github.com/hermanhermitage
by DexOS
Wed Nov 06, 2013 1:09 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Thanks for the info, i will look at RISC OS sprite files.
Note: i am used to coding everything myself, as 95% of my coding is done in bare metal lol .
by DexOS
Tue Nov 05, 2013 11:41 pm
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Nice work, i moded the mouse demo to use "OS_ReadModeVariable" which is best practise as we do not know what screen mode is set to. Anyway i was working on displaying a BMP image, i got it to work after many problem's, here is what i came up with http://www.dex-os.com/riscos/BMP.zip I will post the ...
by DexOS
Tue Nov 05, 2013 7:21 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Ok I have the version of the Framebuffer example that I am going to be using on the other thread now. In order to help get people interested I modified it to a simple fade from Blue to Black, and named it Fade, wrapped in an application directory named !TutFade (no build scripts this time, I am goi...
by DexOS
Tue Nov 05, 2013 4:18 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Thanks, i did not know, i am a complete newbe to RISC OS, but the more i use i like.
If i new about RISC OS before i started to code my OS, i would never of coded it, as its my ideal OS :) .
by DexOS
Tue Nov 05, 2013 3:22 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Thanks again, i will give !Zap ago .
by DexOS
Tue Nov 05, 2013 2:50 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Yes that was the problem, works and assembles fine now. :)
So what editor did you use.
As i spent all day yesterday trying to get it to assembly stuff i new was right.
But i used fasmarm editor, which must add or not add some thing .
by DexOS
Tue Nov 05, 2013 2:37 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Thanks i will give it a try, yes at the time i was running at 800*600 and got buffer size of 6mb :? .
I will try at a higher res.
Note: I was on a very old ver of RISC OS, but today i got the latest ver.
by DexOS
Tue Nov 05, 2013 2:23 am
Forum: Graphics, sound and multimedia
Topic: Building a simple music player
Replies: 2
Views: 1734

Re: Building a simple music player

You can use RiscOS http://garysshed.co.uk/wp/?cat=24 Also i am working on a bare metal (no OS) player for the pi ,you can test it here http://www.dex-os.com/riscos/simple%20sound.zip Just add all files to a fat formatted SD and make sure you have ear phones in. will work with or without monitor. I J...
by DexOS
Tue Nov 05, 2013 12:16 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Hi DavidS , i can not get it to assemble with extASM, when i try it gives me lots of errors and if you disassemble the output half the instructions are missing and pointers like stack are not right. So how do you get it to assembly ? Also i am not sure the frame buffer size is right for that job, as...
by DexOS
Mon Nov 04, 2013 4:49 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Yes everything seem fine to me. And yes i cut and paste my own code from one test code to the other (note even the string is from led demo :lol: ). And i did first use 14, but changed to 13 later, as it was simpler. And yes change the comments as you seem fit. I think it will need code to get screen...
by DexOS
Mon Nov 04, 2013 12:03 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Thanks for pointing that out, i had know idea that it matted, but i know there's a lot of people that have stuck with it from the beginning and like thinks done in a certain way. So the proper way is "RISC OS" Upp case and two words, i try to remember that. In case your interested i have a example c...
by DexOS
Sun Nov 03, 2013 11:18 pm
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Great idea ;), i have some code to use the frame buffer directly that may help. I will posted it here, so as not to spam your game tuts. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; RiscOS framebuffer example by Craig Bamford ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; format binary as '' i...
by DexOS
Sun Nov 03, 2013 4:26 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

Your "BBC BASIC V Compiler " is a great idea and i for one would be interested in it, but i am not sure beginners will. So it all depends on who your target market is. Do you want to encourage more people to RiscOS or do you want people that already like RiscOS ?. I have done one or two simple games...
by DexOS
Sat Nov 02, 2013 11:45 pm
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

The best tut i followed was for something i was interested in doing, that started with the basics and work up, each tut was simple in them selfs, but together make a large project. Example a game, you start off showing how to changing modes, then setting buffers up, then drawing a single pixel to sc...
by DexOS
Sat Nov 02, 2013 10:43 pm
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

I like the new !extASM format examples, as you said it much more fasmarm like format.
by DexOS
Thu Oct 31, 2013 8:14 pm
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27368

Re: RISC OS Assembly Tutorials.

DexOS: Thanks for the RiscOS examples! :) All I needed to know was the executable format/header. Man, I could easily create an assembler for RPI bare-metal. Since I don't have file I/O for RPI, though, it would assemble source code in memory. My D-ARM7 Disassembler My Magic-ARM Assembler+Compiler T...
by DexOS
Thu Oct 31, 2013 2:34 pm
Forum: Other programming languages
Topic: Asm tuts
Replies: 63
Views: 17154

Re: Asm tuts

Thanks i will test and see if can fine the over flow.
Also extasm comes with assembly source code, not sure about the licence.

Go to advanced search