OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 10:38 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: MikeOS32 - 32 bit PM translation
PostPosted: Tue Aug 13, 2013 12:11 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 27, 2010 4:53 pm
Posts: 1150
Location: Scotland
A happy ending? Someone needs to stir the pot quick.

[By the way Mike, I had a look at the place names in the hangman game source and found another typo near the top: "bueno saires".]

_________________
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c

MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming


Top
 Profile  
 
 Post subject: Re: MikeOS32 - 32 bit PM translation
PostPosted: Thu Aug 15, 2013 4:33 am 
Offline
Member
Member

Joined: Wed Mar 13, 2013 2:27 am
Posts: 100
mikegonta wrote:
I've fixed my translation "bugs". The crashing was probably this.
I had to remove the excellent work of Joshua Beck because his Basic language programs contain
"POKE"d real mode code that won't run in PM32. These include calc.bas, draw.bas, memedit.bas and mbpp.bas.


That's a shame. I wrote some great apps for MikeOS. In the latest version the only assembly calls in the library is for intersegmental memory movement, which isn't needed by any of the major apps. Most of the peeks and pokes are just for library data. I could patch it up you.
Have you actually tried them? I would have though there would be no problem in running them, provided all the peeks and pokes are the proper width and no binaries code is run.

Here's my memory map of the library's data if it helps.

_________________
TachyonOS - Violates causality on 95% of attempts. Runs at approximately 1.5c.


Top
 Profile  
 
 Post subject: Re: MikeOS32 - 32 bit PM translation
PostPosted: Fri Aug 16, 2013 7:08 pm 
Offline
Member
Member

Joined: Thu May 19, 2011 5:13 am
Posts: 229
Prochamber wrote:
mikegonta wrote:
I've fixed my translation "bugs". The crashing was probably this.
I had to remove the excellent work of Joshua Beck because his Basic language programs contain
"POKE"d real mode code that won't run in PM32. These include calc.bas, draw.bas, memedit.bas and mbpp.bas.
That's a shame. I wrote some great apps for MikeOS. In the latest version the only assembly calls in the library is for
intersegmental memory movement, which isn't needed by any of the major apps. Most of the peeks and pokes are
just for library data. I could patch it up you.
Have you actually tried them? I would have though there would be no problem in running them, provided all the peeks
and pokes are the proper width and no binaries code is run.
Hi Joshua,
I see now that main the issue is with PEEKINT and POKEINT, both of which are 32 bit in the MikeOS32 Basic interpreter
and will require the Basic apps which use them to be translated also.

_________________
Mike Gonta
look and see - many look but few see

https://mikegonta.com


Top
 Profile  
 
 Post subject: Re: MikeOS32 - 32 bit PM translation
PostPosted: Mon Aug 19, 2013 1:10 am 
Offline
Member
Member

Joined: Wed Mar 13, 2013 2:27 am
Posts: 100
mikegonta wrote:
Hi Joshua,
I see now that main the issue is with PEEKINT and POKEINT, both of which are 32 bit in the MikeOS32 Basic interpreter
and will require the Basic apps which use them to be translated also.


Would it not be easier to simply make these commands work with 16-bit data and match the original MikeOS?
I know the name suggests that the width is an integer (platform subjective) but the command was intended to be a word.
Perhaps you could add new commands to peek/poke 32-bit data.

How about translating some of the TachyonOS API? There's a lot of new features such as graphics drawing, mouse support and a new TUI shell.

_________________
TachyonOS - Violates causality on 95% of attempts. Runs at approximately 1.5c.


Top
 Profile  
 
 Post subject: Re: MikeOS32 - 32 bit PM translation
PostPosted: Sat Aug 31, 2013 1:28 pm 
Offline
Member
Member

Joined: Thu May 19, 2011 5:13 am
Posts: 229
Prochamber wrote:
Would it not be easier to simply make these commands work with 16-bit data and match the original MikeOS? I know the name suggests
that the width is an integer (platform subjective) but the command was intended to be a word.
The translation part is easy and mostly done with a script. The not so easy part is determining if the 16 bit instruction needs to be 16 bit.
The intent is to translate 16 bit to 32 bit.
Quote:
Perhaps you could add new commands to peek/poke 32-bit data.
The MikeOS32 peekint and pokeint commands are 32 bit. New commands would be needed for 16 bit.
Quote:
How about translating some of the TachyonOS API? There's a lot of new features such as graphics drawing, mouse support and a new TUI shell.
How about translating TachyonOS to TachyonOS32?

_________________
Mike Gonta
look and see - many look but few see

https://mikegonta.com


Top
 Profile  
 
 Post subject: Re: MikeOS32 - 32 bit PM translation
PostPosted: Tue Oct 29, 2013 5:43 am 
Offline
Member
Member
User avatar

Joined: Wed Aug 21, 2013 3:53 am
Posts: 449
Location: Asia, Singapore
Mike,
Where is aeBIOS actually stored? Is it in the MBR (impossible maybe? since the MBR is only of 512 bytes),
I saw the Kernel image file and found nothing called AEBIOS.BIN?
Also what do you mean by this :
Quote:
> So... you're saying aeBIOS boots in pmode then switches to real mode
> to run MikeOS?

No, no and no.
aeBios, like the native motherboard BIOS is passive.
aeBIOS does not run MikeOS32.
MikeOS32 runs in PM32 and uses PM32 interrupts. aeBIOS acts as a
transparent BIOS extender.

So you mean all the aeBIOS interrupts are provided by aeBIOS? Wow?
Did you rewrite the whole list BIOS interrupts? Or something else.......
Is aeBIOS open source?

_________________
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 164 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group