Jump to content
xisto Community

ziom666

Members
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by ziom666


  1. using google search you can find source code of Microsoft DOS 6. here are some of the comments:

    dev/smartdrv/rtywrt.asm:
    ; *BLEEP*! Fatal error on write-behind! Ask user what to do with
    ; sleazy popup.

    handle_fatal_write_error:
    mov al,wrt_unmapped_unit ; get drive code
    call warning_pop_up

    ***

    FDisk.c
    /* P.S. - To whoever winds up maintaining this, I will */
    /* apoligize in advance. I had just learned ‘C’ when */
    /* writing this, so out of ignorance of the finer points*/
    /* of the langauge I did a lot of things by brute force.*/
    /* Hope this doesn’t mess you up too much - MT 5/20/86 */

    ***

    ; *BLEEP*in’ sixteen-bit machine ought
    ; to be able to handle a SIXTEEN-BIT
    ; DISPLACEMENT!!

    ; I have to use DOS call int 21h/5f02h because DOS call int 21h/4409h
    ; is not reliable under DOS versions 4.00 and 4.01. (IBM *BLEEP*-up).

    ; BIOS is *BLEEP*ing with us - give up

    ; Is this a Set PSP call (50h) ?
    ; Yes, jmp directly to function
    else
    ; *BLEEP*ing jump out of range by *two* bytes!

    * The path can be in about a million *BLEEP*ed up forms depending on the level of stupidity in the user.

    ; Enable interrupts at the start of
    ; the dispatch code. Otherwise interrupts
    ; remain disabled through a whole
    ; shitload of code which is not good.

    ; Now we’ve got to copy all of that *BLEEP* into the cache

    ; *BLEEP*! read error. Better invalidate block & bomb!

    ; *BLEEP*! Fatal error on write-behind! Ask user what to do with
    ; sleazy popup.

    ; End of WIN386 2.xx compatibility *BLEEP*

    ***

    * Function will add the szSetupPath to the users path statement in the
    * autoexec.bat file. The szSetupPath will be the first location in the
    * path statement. The path can be in about a million *BLEEP*ed up forms
    * depending on the level of stupidity in the user. Here are a few to
    * think about. DOS will accept any of these.
    *
    * PATH=C:foo;C:foobar;…
    * SET PATH=C:foo;C:foobar;…
    * PATH C:foo;C:foobar;…
    * PATH =C:foo;C:foobar;…
    * PATH= C:foo;C:foobar;…
    * PATH = C:foo;C:foobar;…

    microsoft philosophy ;]. the best are FDisk.c and

    depending on the level of stupidity in the user

    :blink:

  2. i agree that school isn't as bad as people usually think. when you got friends, you can always do something enjoying. yes, sometimes i have to learn crappy things, but... ;]it's my last year in hight school, we will see what future brings. mayby i will miss my school ;>

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.