flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > My first simple app for MenuetOS 64-bit |
Author |
|
macgub 20 Oct 2021, 17:53
If on your machine works Menuet's USB you are lucky. I wish you many, perhaps more complex apps for Menuet. BTW You run MeOS on virtual machine or on real hardware? I gues this second - fun.
|
|||
20 Oct 2021, 17:53 |
|
FlierMate 20 Oct 2021, 20:45
macgub wrote: If on your machine works Menuet's USB you are lucky. I wish you many, perhaps more complex apps for Menuet. BTW You run MeOS on virtual machine or on real hardware? I gues this second - fun. Thanks for your encouragement to create more complex apps for MenuetOS. Yes, I run MenuetOS on real hardware, the same old laptop that can also run Windows 10 21H1 and Debian 11 (Linux). What I did is use following command to burn to a 32GB USB flash drive: Code: dd if=M6413940.IMG of=/dev/sdb1 Then boot from USB during BIOS startup, (but I have to edit configuration file to enable USB keyboard and USB mouse) I am happy! BTW, I can also run MenuetOS on virtual machine using QEMU: Code: qemu-system-x86_64 -fda M6413940.IMG I prefer to boot from real hardware although the keyboard mapping is slightly wrong (i.e. punctuation mark and symbol). So, not every computer can boot MenuetOS 64-bit? I will post more on here if I able to save files (e.g. screenshots and .ASM files) back to the same USB flash drive from within MenuetOS. |
|||
20 Oct 2021, 20:45 |
|
macgub 21 Oct 2021, 14:57
Quote:
For sure I can tell only about my machine. I can boot from USB, via unetbbootin. This is not emulation floppy mode, so I cannot save floppy image on USB . ( maybye I am wrong ?). And I cannot acces usb full storage, load and store data, only floppy image witch resides in RAM... Sadly my virtualbox, i update many times is broken and probably to make its working I must reinstal Windows. I dont remember if even from VirtualBox USB 2.0 emulation I have acces to usb storage. In additin MeOS on real hardware not see my mouse, sound is problem too. Quote:
Are you able acces USB storage from qemu? Will be fine if you share with others appropiate command. [/quote] |
|||
21 Oct 2021, 14:57 |
|
macomics 21 Oct 2021, 16:24
macgub wrote: Are you able acces USB storage from qemu? Will be fine if you share with others appropiate command. FlierMate wrote:
|
|||
21 Oct 2021, 16:24 |
|
FlierMate 22 Oct 2021, 12:36
macgub wrote:
I found ways to save files back to the floppy image on USB drive, but only on real hardware. I need to enable USB 2.0, among others: Code: usb_enable = 0x000001 usb_legacy_disable = 0x000001 usb_ehci_cache_mode = 0x000001 usb_ohci_enable = 0x000001 usb_uhci_enable = 0x000001 fd_1_enable = 0x000001 fd_1_write = 0x000001 keyboard_layout = 00000002 Then I will be able to save small files back to the 1.5MB floppy disk image on my USB drive using Cache2Usb program. Hooray! macgub wrote:
Still no luck on this one, sorry, I was unable to access USB storage from QEMU. This is my latest commands: Code: qemu-system-x86_64 -m 2048 -usb -fda *****.IMG macomics wrote:
Thank you for your help, although I think macgub was asking how to save files back to the USB drive.[/code]
|
|||||||||||||||||||
22 Oct 2021, 12:36 |
|
FlierMate 22 Oct 2021, 14:12
New Update!!!
I can now load files from and save files to large USB flash drive. It does not matter FAT12 or FAT32. But I must plug in the second USB flash drive before the MenuetOS loads. |
|||
22 Oct 2021, 14:12 |
|
macgub 22 Oct 2021, 15:59
Thanks for your replies.
Quote:
Yes, you guess what I mean. I tried many options to acces USB memory on real hardware, many times - no luck. I just thought, qemu is the solution. Perhaps I must buy more compatibile computer. BTW What brand of machine are you using? Maybye ASUS? Best wishes! |
|||
22 Oct 2021, 15:59 |
|
FlierMate 22 Oct 2021, 16:25
macgub wrote: Thanks for your replies. You're most welcomed. I am using an old laptop ASUS K40IN (Intel Core2 Duo T660 CPU) dated back to Nov 2009. This laptop has only legacy BIOS boot mode. macgub, did you try to plug in the second USB flash drive before computer is starting? I think MenuetOS does not support plug and play, that's why I must plug it in first during BIOS POST. I think you too can use the following approach: 1) 1st USB drive is burned with MenuetOS 64-bit floppy image (FAT12). So, if you open in other OS, you will see this drive as 1.4MB only (no matter how large your USB drive is) 2) 2nd USB drive for read / write access using MenuetOS 64, but must enable USB 2.0 , etc. Thank you for your well wishes. BTW, your 3D programs on your homepage look amazing to me.
|
||||||||||
22 Oct 2021, 16:25 |
|
macgub 22 Oct 2021, 17:35
Yes, I tried both options. AFAIK ASUS even now support legacy BIOS mode. So relative new machine will fit my needs.
Quote:
I enjoy someone visit my page. This is the "kick" for me keep my site existing. ( I bit hesistate last times, someone take look at). Stay safe in this crazy times. |
|||
22 Oct 2021, 17:35 |
|
FlierMate 02 Jan 2022, 15:46
Sorry for late publish of my first app.
This app follows the E64.asm example provided by MenuetOS 64 itself. While I know MenuetOS already have better CPU identification tool, this app is an exercise for me. Screenshot and source code are below:
Last edited by FlierMate on 05 Feb 2022, 09:44; edited 1 time in total |
|||||||||||||||||||
02 Jan 2022, 15:46 |
|
FlierMate 03 Jan 2022, 10:34
Here is a better version:
1) Added a "Close" button 2) cpuid is executed outside of the loop of window redraw Now it looks like a message box! Posted this little teaser app on GitHub, and guess what? Quote:
-- https://github.com/topics/menuetos I am the first repo tagged with #menuetos
|
||||||||||||||||||||
03 Jan 2022, 10:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.