|
about half of an ARM assembler in bash
|
| |
...thumb ARM
...
...
A=0 B=1 C=2 D=3 E=4 SI=5 DI=6
SP=13 # thumb SP is 13, but we use r7 for internals in jump,
call...
LR=14
PC=15
spsp ( ) { # copy the pa SP to the ARM "SP" prior to pop and such
# mov(3)
ad $(( $bit14 | 3 << 9 | $bit6 | 7 << 3 | 13 ))
...
# wide 2-thumb-insn bl calcs... more »
|
|
Forth, stacks, and operating systems
|
| |
Some Ideas For Operating System Design
About a decade ago I wrote a 386 assembler in Bash, and a 3-stack TIL,
and I've had my 3-stacker
running as a Linux kernel thread. I still haven't re-written my 3-
stacker in assembly-in-Bash,
perhaps because I want to make the assembler portable first. I've... more »
|
|
regular operating systems vs small real time operating systems
|
| |
Hi all,
I come from electronics background, and know how RTOSes for small
microcontrollers/CPUs work. Everything is one C program, and the
"tasks" are just separate void returning functions (which can call
other functions) that are part of the whole program. RTOS's
functions, which are part of the same program, handle juggling of... more »
|
|
68000 assembly language programming
|
| |
...They'd have been on safer ground had they decided that it was the _assembly language programming_ part that was going to become comparatively unimportant, rather than the processor architecture. (When I'm next in the same part of the country as my library, I'll check how many books that I have that deal with 80x86 assembly language... more »
|
|
8085 Assembly emulator for Win7(64)
|
| |
I am looking for a free 8085 Assembler, I can run on Windows 7 - 64 bit. I downloaded a few off the some shareware sites but most of them don't seem to run at all on Win7-64 bit. I tried running one on Win7 using a DOS Emulator, but that hung DOSBox itself. Anyone knows a 8085 emulator which will run on Win7-64.... more »
|
|
RFC: PEtoBIN - a simple file format for 32/64bit OS Dev
|
| |
I am once again working on this simple specification. It's basically a simple PE file which is modified to create a flat binary executable file with relocation information. It can be loaded to the preferred load address (as all flat binary files are) and run as is, there is no header file. The flat binary... more »
|
|
Quote of the day.
|
| |
...[link] "aeBIOS is a project that tries to make all the broken ugly mess from the 1970's "real mode BIOS" available in protected mode, so it's easy to make broken and ugly protected mode software (rather than broken and ugly real mode software)... :)"... more »
|
|
|