Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

ARM version of MSDOS (Announce)

posted by kerravon, Ligao, Free World North, 01.02.2024, 01:23

> I know nothing about ARM programming etc. but I would be interested in
> running programs that I want to write myself for an android smartphone.
> Would your work allow say a FreeBASIC program to be launched from a
> smartphone?

As I mentioned before - if FreeBASIC is C90-compliant,
it should be able to be built for PdAndro.

However, I'm only familiar with bwbasic - which is an
interpreter. So yesterday I built that and that is now
available if you get the latest PdAndro from here:

https://github.com/o-ksi-d/Pdos-PdAndro/releases/tag/rel.0.61.0

and UCARM from http://pdos.org

You just need to type "bwbasic" and then you can go:
print 3 + 4

Or you can use the included microemacs and go:

e test.bas

then:

for x = 1 to 5
print "hi", x
next

ctrl-x, ctrl-s to save
ctrl-x, ctrl-c to exit
(ctrl-g to cancel if you stuff up a command)

Then

bwbasic test.bas

There is a BASIC tutorial available at http://pdos.org
which I intend to update soon for this new environment
and include in ucarm.zip

The One Laptop Per Child people never managed to get
the price below US$200.

Smartphones are ubiquitous worldwide. For US$2 you can
turn it into a computer and start learning how to
program.

When you've cut your teeth on BASIC, you can move to the
included C compiler.

There is only one small fly in the ointment. I had to
make a special version of bwbasic that doesn't use floating
point, as floating point is not yet properly supported in
this environment. For some reason the ARM hardware doesn't
have the instructions, and there is no software emulation
being done somewhere that would cover it. I could use
soft-float but don't have floating point routines of my
own (pdpclib just has stubs which are enough for some
things but not if you really want to use floating point).

BFN. Paul.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 116 users online (0 registered, 116 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum