Go to advanced search

by DexOS
Thu Apr 03, 2014 9:12 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi OS
Replies: 82
Views: 19056

Re: Raspberry Pi OS

The projects are no longer dev, but if you pm me a email address i will send you the latest code.
Or if you can wait a little longer, as i am going to set up a github with the code.
by DexOS
Fri Mar 21, 2014 6:01 pm
Forum: Bare metal, Assembly language
Topic: Where to find dex-basic?
Replies: 8
Views: 4342

Re: Where to find dex-basic?

Maybe you could try a private message to the man himself: http://www.raspberrypi.org/forum/memberlist.php?mode=viewprofile&u=17803 I´ve already done this, but thanks for the hint ! I am in the process of setting a github with the code for dexbasic and dexos. But in the mean time here's a wav play e...
by DexOS
Wed Feb 26, 2014 12:42 am
Forum: Bare metal, Assembly language
Topic: Audio
Replies: 4
Views: 1330

Re: Audio

Here's some example's for DexBasc
http://www.dex-os.com/DexBasic/Sound%20Pi.zip
by DexOS
Wed Feb 19, 2014 11:47 pm
Forum: Advanced users
Topic: python web server?
Replies: 4
Views: 1748

Re: python web server?

I've installed Apache on my Pi and I'd be interested setting up a python web server instead. I've seen a few posts on this topic and I'd really like to implement it along with port-forwarding. So. Here are my questions? What is the best way to deploy a python web server? Is it faster than Apache on...
by DexOS
Wed Feb 19, 2014 3:25 am
Forum: Bare metal, Assembly language
Topic: dexbasic questions
Replies: 18
Views: 3688

Re: dexbasic questions

355/113 wrote:This line:

Code: Select all

gpioAddress 16                                     ;
caused the fasmwarm program to declare "Error: illegal instruction"
Make sure you use the 'DexBasic\DexBasic.inc from the fast.zip
by DexOS
Wed Feb 19, 2014 1:09 am
Forum: Bare metal, Assembly language
Topic: dexbasic questions
Replies: 18
Views: 3688

Re: dexbasic questions

tufty right, you need to keep the macros out of the main loop. I have added a test macro, to see if that helps ,see zip http://www.dex-os.com/DexBasic/Fast.zip The basic code is include 'DexBasic\DexBasic.inc' ; set up everything and stores our macros etc ; NOTE: CHANGE BOTH THESE, TO THE PIN YOU WA...
by DexOS
Tue Feb 18, 2014 2:48 am
Forum: Bare metal, Assembly language
Topic: dexbasic questions
Replies: 18
Views: 3688

Re: dexbasic questions

Now I have the bitbang tutorial code running and out of curiosity, I removed the delays between the bit set and the bit clear commands to see how fast it could toggle a pin as well as how long the goto would take. I'm seeing about 900ns for the bit set period and around 1.1us for the combination of...
by DexOS
Tue Feb 18, 2014 1:05 am
Forum: C/C++
Topic: How/Where to download C/C++
Replies: 16
Views: 3867

Re: How/Where to download C/C++

You may find DexBasic useful, i have some code using DexBasic to play wav files in bare metal,.. @dexos Have you seen/run this !! ?? !. "Sampler plugin for the baremetal LV2 host" @ http://www.joebutton.co.uk/ Yes i based my code on his: http://www.raspberrypi.org/forum/viewtopic.php?p=268232#p2682...
by DexOS
Sun Feb 16, 2014 11:00 pm
Forum: Bare metal, Assembly language
Topic: dexbasic questions
Replies: 18
Views: 3688

Re: dexbasic questions

Glad you got it working, it seem the DexBasic.zip on the site is a very old ver, i up loaded a old ver by mistake, i will up date it with the new ver. But if you follow the tuts, use the files from Tut1.zip and just replace the app.asm with the tut your following. I will be adding a lot more functio...
by DexOS
Sun Feb 16, 2014 12:23 am
Forum: Advanced users
Topic: How to lock SD card with the device
Replies: 42
Views: 11334

Re: How to lock SD card with the device

I have code to do what you want in bare metal writing direct to hardware (asm), you would need to map the right address under linux etc. Let me know if you want me to post it. Sure, Please mail it to me at [email protected].com. Best Regards, Ashish Here is a link to the code http://www.dex-os.com/D...
by DexOS
Sun Feb 16, 2014 12:03 am
Forum: Bare metal, Assembly language
Topic: dexbasic questions
Replies: 18
Views: 3688

Re: dexbasic questions

I just saw some postings on the forum about dexos and dexbasic and am very interested in trying this out. At this site: http://www.dex-os.com/DexBasic/DexBasic.htm I found instructions and followed them but my R-Pi lays there and just smirks at me. One difference I noted is that the Intro tutorial ...
by DexOS
Fri Feb 14, 2014 9:56 pm
Forum: Advanced users
Topic: How to lock SD card with the device
Replies: 42
Views: 11334

Re: How to lock SD card with the device

I have code to do what you want in bare metal writing direct to hardware (asm), you would need to map the right address under linux etc.
Let me know if you want me to post it.
by DexOS
Fri Feb 14, 2014 9:50 pm
Forum: C/C++
Topic: How/Where to download C/C++
Replies: 16
Views: 3867

Re: How/Where to download C/C++

You may find DexBasic useful, i have some code using DexBasic to play wav files in bare metal, let me know if you want me to post example.
http://www.dex-os.com/DexBasic/DexBasic.htm
by DexOS
Fri Feb 14, 2014 9:32 pm
Forum: RISCOS
Topic: Font background color
Replies: 3
Views: 2723

Re: Font background color

Thank you very much for both your help, i will look into what you both have posted and once i get it working, i will post a example, so it may help others.
by DexOS
Fri Feb 14, 2014 12:34 am
Forum: RISCOS
Topic: Font background color
Replies: 3
Views: 2723

Font background color

Is it possible to have the font background colour transparent, when using swi like
OS_Write0.
If so what are the SWI i should lookup.
Thanks.
by DexOS
Sat Feb 08, 2014 8:04 pm
Forum: Bare metal, Assembly language
Topic: PS/2 keyboard driver in assembler
Replies: 13
Views: 4432

Re: PS/2 keyboard driver in assembler

I'm using one tiny Level Converter from sparkfun . It converts two inputs at 5 V to outputs at 3.3 V and two inputs at 3.3 V to outputs at 5 V too. (That's two twos, two tos and a too too :) ) I'm not using the 3.3 -> 5 V side yet (to talk to the keyboard). I have another Level Converter for the mo...
by DexOS
Fri Feb 07, 2014 8:23 pm
Forum: Bare metal, Assembly language
Topic: PS/2 keyboard driver in assembler
Replies: 13
Views: 4432

Re: PS/2 keyboard driver in assembler

@by colinh,
How are you interfacing your ps/2 keyboard, to your pi ? (gpio) etc.
And have you some test code ?.
Also have you tryed your driver with a usb keyboard and usb to ps/2 adapter ?.

PS: I do agree USB is a pain for hobby OS Dev, when there's no data sheets released.
by DexOS
Wed Feb 05, 2014 8:41 pm
Forum: Bare metal, Assembly language
Topic: Flash/SD card driver for RPi
Replies: 8
Views: 3391

Re: Flash/SD card driver for RPi

You can get the full code to DexBasic including defines. http://www.dex-os.com/DexBasic/DexBasicSource.zip To use the code, you would do something like this: bl InitialSDcard ; call Initial function cmp r0,0 ; check for errors bne PrintInitialError ; if error jump to error handling code ; bl ReadSin...
by DexOS
Sat Feb 01, 2014 11:33 pm
Forum: Bare metal, Assembly language
Topic: Looking for some tips to get started
Replies: 9
Views: 2742

Re: Looking for some tips to get started

One thing to remember about fasmarm is that its a x86 assembler with ARM assembler add-on, in the beginning there were many work a rounds. I was one of the first to use it and as such used these work a rounds in my code. They have since been fixed in later ver's of fasmarm. But my code still have th...
by DexOS
Fri Jan 31, 2014 9:24 pm
Forum: Bare metal, Assembly language
Topic: Flash/SD card driver for RPi
Replies: 8
Views: 3391

Re: Flash/SD card driver for RPi

Here's my basic driver, written in fasmArm align 4 ; ; ----------------------------------------------------- ; ; InitialSDcard ; ; ----------------------------------------------------- ; ; ; ; Input: ; ; None ; ; ; ; Output: ; ; r0 = 0 no errors ; ; r0 = none zero = errors code ; ; ; ; -------------...
by DexOS
Sun Jan 26, 2014 8:44 pm
Forum: Bare metal, Assembly language
Topic: Looking for some tips to get started
Replies: 9
Views: 2742

Re: Looking for some tips to get started

You could try DexBasic http://www.dex-os.com/DexBasic/DexBasic.htm
I also have examples of linux and riscos direct FB in asm, if you want them let me know.
by DexOS
Sun Jan 12, 2014 6:44 am
Forum: Bare metal, Assembly language
Topic: Raspberry Pi OS
Replies: 82
Views: 19056

Re: Raspberry Pi OS

jum wrote:Would be cool to be able to write and run the DexBasic programs while in DexOS. (old-school 8-bit computer style).
I was waiting until i finished the the interpreter, which is nearly done.
Then i just need to add a text editor.

@bertwert , Your welcome and sure i will PM.
by DexOS
Thu Jan 09, 2014 12:07 am
Forum: C/C++
Topic: Graphics without X11 GUI??
Replies: 2
Views: 1591

Re: Graphics without X11 GUI??

I used writing direct to fb for something simular, but i coded it in full ASM , but there's a simular C ver here: https://github.com/rst-/raspberry-compo ... /master/fb

Let me know if you want to test my ASM ver.
by DexOS
Wed Jan 08, 2014 11:53 pm
Forum: Other projects
Topic: How can I make a custom os
Replies: 15
Views: 20041

Re: How can I make a custom os

Wait....how can I use dexos...like do I code it on the pi or do I do it on a computer...if I need a computer...can I use my android tablet? At this time you need a x86 computer to assemble the code, that's because DexBasic users fasmarm, a cross assembler that only runs on x86. But i am working on ...
by DexOS
Tue Jan 07, 2014 9:42 pm
Forum: Other projects
Topic: How can I make a custom os
Replies: 15
Views: 20041

Re: How can I make a custom os

You could use DexBasic to code your OS, in some ways it's easier than doing it on top of linux. http://www.dex-os.com/DexBasic/DexBasic.htm This is just 10 lines of code done with DexBasic http://www.youtube.com/watch?v=Hc-5epQTul8 But...I kinda don't have a working computer and need a micro USB to...

Go to advanced search