flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Using MenuetOS with an old laptop

Author
Thread Post new topic Reply to topic
nvictor



Joined: 17 Feb 2007
Posts: 31
nvictor 16 Mar 2007, 00:10
Hey,

I've found an old P2 on ebay and I want to buy it. I've been learning ASM on windows xp but I want to be in an old environment.

DOS is not sold anymore, but there are FreeDos and MenuetOS. Can MenuetOS run alone on an old P2 233MHz laptop without any other operating system?

Also, do you own or know where I can find old laptops?

thanks.

--
Make money with the 7 dollar theory and Agloco.


Last edited by nvictor on 16 Mar 2007, 13:14; edited 1 time in total
Post 16 Mar 2007, 00:10
View user's profile Send private message Reply with quote
Solidus



Joined: 07 Nov 2006
Posts: 8
Location: Australia
Solidus 16 Mar 2007, 01:40
As to the laptop, I run Menuet/Kolibri off an old 266Mhz PII with 128Mb of Ram. Works well and complements DexOS very well.
Post 16 Mar 2007, 01:40
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 16 Mar 2007, 02:41
Menuet should run fine, but i would check if it has vesa2 and LFB, as i would not like to run menuet without it, although DexOS would work with or without it.
Post 16 Mar 2007, 02:41
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 16 Mar 2007, 03:13
Menuet32 boots from A: on my old Pentium 1 (no MMX) 166 Mhz w/ 32 MB RAM (VESA 1.2: ATI Mach64 w/ 1 MB VRAM), even without a mouse. OctaOS and DexOS (and its tiny cousin, MiniDOS) also work. And of course FreeDOS works darn well too. (Try 'em all!)

We are enjoying a renaissance of mini OSes these days, thanks to the helpful FASM forums, etc. Hooray! Smile
Post 16 Mar 2007, 03:13
View user's profile Send private message Visit poster's website Reply with quote
nvictor



Joined: 17 Feb 2007
Posts: 31
nvictor 16 Mar 2007, 13:11
Thanks for the replies.

In case it doesn't have vesa2. I remember [I was quite young] that it can be emulated, right?
Post 16 Mar 2007, 13:11
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 16 Mar 2007, 16:49
So to clear things up, it should still work with vesa1, but it will be slower.
To find what vesa it supports, get the make and model and search on net for info on it before buying.
Post 16 Mar 2007, 16:49
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 16 Mar 2007, 21:21
Someone more knowledgable than me could tell you more specifically, but you need:


  • a decent video card
  • an OS w/ drivers that support that video card
  • a monitor that is compatible with that video card


Also, the motherboard might need to allow future video card upgrades, too. Make sure to ask the seller appropriate questions.

EDIT: VESAINFO.C from DISPT3.ZIP


Last edited by rugxulo on 12 Oct 2016, 00:27; edited 1 time in total
Post 16 Mar 2007, 21:21
View user's profile Send private message Visit poster's website Reply with quote
nvictor



Joined: 17 Feb 2007
Posts: 31
nvictor 17 Mar 2007, 18:21
ok Very Happy
Post 17 Mar 2007, 18:21
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 05 Jun 2007, 02:52
EDIT: Updated to slightly smaller version.

Code:
; WHATVESA.ASM (0.2) - using FASM 1.67.21 (FASMD, actually)
;
; http://board.flatassembler.net
;
; 116 bytes, DOS .COM, public domain: free for any use! ("nenies proprajxo")
; rugxulo AT gmail DOT com
;
; Last modified:  Tuesday  June 12, 2007  5:29pm
;
; ----------------------------------------------------------------------
; CRC32: 1BE946C3
;
; begin 644 whatvesa.com
; MN`!/OW0!S1"#^$]U2(G[@3]6175`@7\"4T%U.?]W!O]W"(M'!-4*HG(!U`H-
; M,#"&X,9'!""(1P7&1P8NB&<'QT<((`")WN@:`(]'"(]'!L5W!N@.`"ZA<@'-
; :(5"2M`+-(5C#K(3`=`D\!W3WZ.S_Z_+#`$P`
; `
; end
; ----------------------------------------------------------------------
;

format binary
org 100h                        ; DOS .COM (for max. compatibility)
use16                                    ;   (sorry Win64, use DOSBox!)

BELL=7
SUCCESS=004Fh

Komenco:
    mov ax,4F00h
        mov di,VESA_buffer
  int 10h
     cmp ax,SUCCESS
      jnz @f
      mov bx,di
   cmp word [bx],'VE'
        jnz @f
      cmp word [bx+2],'SA'
      jnz @f
      push word [bx+6] word [bx+8]
        mov ax,word [bx+4]
  aad
 mov byte [VESA_version],al
  aam
 or ax,'00'
        xchg ah,al
  mov byte [bx+4],' '
       mov byte [bx+5],al
  mov byte [bx+6],'.'
       mov byte [bx+7],ah
  mov word [bx+8],' '
       mov si,bx
   call print
  pop word [bx+8] word [bx+6]
 lds si,[bx+6]
       call print
@@:
Fino:
  mov ax,word [cs:VESA_version]
   int 21h

; putc
putc:
  push ax
     xchg dx,ax
  mov ah,2
    int 21h
     pop ax
.ret:
 ret

; print
print:
@@:
 lodsb
       test al,al
  jz short @f
 cmp al,BELL                    ; skip ASCII bell (very annoying)
    jz @b
       call putc
   jmp short @b
@@:
.ret:
        ret

VESA_version db 0,4Ch
VESA_buffer rb 256

; EOF
    


Description: old src and new src (both FASM), Octasm version (easier to read), .TXT sample output from a few cpus, plus main .COM
Download
Filename: whatvesa.zip
Filesize: 3.72 KB
Downloaded: 993 Time(s)

Post 05 Jun 2007, 02:52
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 can 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.