flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > Recommended hardware for OS from scratch?

Author
Thread Post new topic Reply to topic
axlucas



Joined: 02 May 2014
Posts: 70
Location: Argentina
axlucas 26 Aug 2021, 23:13
Hi, guys! I haven't been here for some time

I'm interested in starting a project consisting in making a very simple home-made computer and program an OS for it from scratch and I want it to be totally low level, pure assembly, direct access to hardware, no 3rd party software, no drivers, nothing, as simple and direct as possible.

What I want to do is pick a microprocessor I can easily find and interface with, make a board for it and connect it to whatever stuff and ports I want to give it. It can be a bare microprocessor or microcontroller if it's not too complicated to interface it or it can be a development board containing one as long as it gives me good access to it (some only give you a few pins). And my idea is to make the code using fasmg on my computer and then just uploading it to the hardware memory.

I've considered some PIC32s, some ColdFire and ARMs among others, but I get pretty lost and I really haven't done this before. Can any of you guys recommend me some hardware (microprocessor/microcontroller/development board) that I can use to begin with this? Thank you!
Post 26 Aug 2021, 23:13
View user's profile Send private message Reply with quote
sts-q



Joined: 29 Nov 2018
Posts: 57
sts-q 27 Aug 2021, 05:33
My 3 bits:

----------------
mecrisp is a nearly professinal forth
http://mecrisp.sourceforge.net/

that i had running on this board:
https://www.conrad.de/de/p/entwicklungsboard-texas-instruments-ek-tm4c1294xl-1270206.html

It was recommended to me as beginner friendly (and it seems to be, i go it going )

----------------
Minal-OS uses fasm for an OS from scratch:
https://codeberg.org/sts-q/minal

----------------

regards
Rolling Eyes
Post 27 Aug 2021, 05:33
View user's profile Send private message Visit poster's website Reply with quote
sylware



Joined: 23 Oct 2020
Posts: 456
Location: Marseille/France
sylware 27 Aug 2021, 16:20
You should favor riscv CPUs... since they are royalty free for everybody around the world, even in barbaric countries.
(for exactly the same reason: do prefer displayport over hdmi, av01 over h265)
Post 27 Aug 2021, 16:20
View user's profile Send private message Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 125
Melissa 19 Sep 2021, 13:25
I don't beleive there are RISC-V cpus to buy sifive just sells t-shirts Razz
Post 19 Sep 2021, 13:25
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6115
Location: Poland
MHajduk 19 Sep 2021, 16:52
Melissa wrote:
I don't beleive there are RISC-V cpus to buy sifive just sells t-shirts Razz
Mikron MIK32 – Made in Russia 32-bit RISC-V MCU offers features similar to STM32L0 MCU

Price - about $6 (depends on the number of pieces and costs of the delivery).

Company's website: https://www.mcu.mikron.ru/
Post 19 Sep 2021, 16:52
View user's profile Send private message Visit poster's website Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 125
Melissa 19 Sep 2021, 19:31
MHajduk wrote:
Melissa wrote:
I don't beleive there are RISC-V cpus to buy sifive just sells t-shirts Razz
Mikron MIK32 – Made in Russia 32-bit RISC-V MCU offers features similar to STM32L0 MCU

Price - about $6 (depends on the number of pieces and costs of the delivery).

Company's website: https://www.mcu.mikron.ru/


I want to buy it, where can I buy it?
Post 19 Sep 2021, 19:31
View user's profile Send private message Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 125
Melissa 19 Sep 2021, 19:43
Ah, it offers me to buy 20000 microcontroller boards Razz
I see....
Post 19 Sep 2021, 19:43
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 843
Location: Jakarta, Indonesia
TmX 25 Sep 2021, 12:29
sts-q wrote:

Minal-OS uses fasm for an OS from scratch:
https://codeberg.org/sts-q/minal


Is there any building/compilation guide?
Post 25 Sep 2021, 12:29
View user's profile Send private message Reply with quote
sts-q



Joined: 29 Nov 2018
Posts: 57
sts-q 26 Sep 2021, 05:06
Well, i think there is not. Embarassed

All magic happens in this bash script:
https://codeberg.org/sts-q/minal/src/branch/master/minal
build-iso: copy assemble linking iso
start-vbox:

There are not too many preconditions and dependencies:
* quemu or VirtualBox
* This grub2-mkrescue thing
* ld
* fasm

( I do almost all with VirtualBox. In quemu it runs a lot slower. )

-----------------------------

Rabbit-vm
is an other approach to the same theme.
It is more mature, simple to install and comes with installation instructions.
https://bitbucket.org/sts-q/rabbit-vm/src/master/
Cool
Post 26 Sep 2021, 05:06
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.