• Pascal help/sorce

    From Dennis Collins@3:770/355 to All on Monday, June 26, 2006 04:47:01
    Hi everyone

    I need some assistance with a program that is under devolopment.......

    The program needs to automatically create a 8096 byte Ram Drive upon startup and then Remove it when it exits, this is for a bbs door game so as to allow Internode semaphore data to be passed between nodes without using disk access.

    Once again SWAG was useless for ideas.

    If you have any code that will allow the creation/deletion of a Ram drive then please e-mail to me at 'themaze@slingshot.co.nz'

    all help appreciated.
    Cheers Dennis

    ... A=B : A^2=AB : A^2-B^2=AB-B^2 : (A+B)(A-B)=B(A-B) : A+B=B : 2B=B : 2=1
    --- FMail 1.48
    * Origin: The Maze BBS... Christchurch... New Zealand (3:770/355)
  • From andrew clarke@3:633/267.1 to Dennis Collins on Monday, June 26, 2006 17:30:00
    Mon 2006-06-26 03:47, Dennis Collins (3:770/355) wrote to All:

    I need some assistance with a program that is under devolopment.......

    The program needs to automatically create a 8096 byte Ram Drive upon startup and then Remove it when it exits, this is for a bbs door game
    so as to allow Internode semaphore data to be passed between nodes
    without using disk access.

    I assume this is for DOS, running some sort of multitasker, eg. DESQview?

    If so, even if you do manage to create a RAM disk from one node, the
    other node won't see the new drive letter. You can see this using the SUBST command. I think you are better off just creating the drive at
    boot time using RAMDRIVE.SYS.

    There are instructions on how to create a RAM drive in Windows NT/2K/XP at http://www.jsifaq.com/SUBH/tip3500/rh3515.htm

    -- mail@ozzmosis.com

    --- Msged/NT 6.1.1
    * Origin: Voodoo Dancer, Mt Eliza, Victoria, Australia (3:633/267.1)
  • From mark lewis@1:3634/12 to Dennis Collins on Monday, June 26, 2006 23:50:12
    I need some assistance with a program that is under
    devolopment.......

    The program needs to automatically create a 8096 byte Ram Drive
    upon startup and then Remove it when it exits, this is for a bbs
    door game so as to allow Internode semaphore data to be passed
    between nodes without using disk access.

    i would not be trying to use a ram drive for this... it just won't work from task to task on the same machine and definitely not over multiple machines...

    what i'd do would be to either use the "ICA" (Interprocess Communication Area) which i believe FrontDoor and a few other programs use(d?) or come up with another method of temporary file storage of the semaphore info... i surely wouldn't worry about ram drive type stuffs with the over(?) abundance of cacheing that is used on most every OS these days... especially since the cache
    will mask any bottlenecks of reading/writing to the drive...

    )\/(ark


    * Origin: (1:3634/12)
  • From Scott Adams@1:112/91 to Dennis Collins on Thursday, September 07, 2006 00:50:19
    Quoting Dennis Collins to All <=-

    I need some assistance with a program that is under devolopment.......

    The program needs to automatically create a 8096 byte Ram Drive upon startup and then Remove it when it exits, this is for a bbs door game
    so as to allow Internode semaphore data to be passed between nodes
    without using disk access.
    Once again SWAG was useless for ideas.

    If you have any code that will allow the creation/deletion of a Ram
    drive then please e-mail to me at 'themaze@slingshot.co.nz'
    all help appreciated.

    Wow. this is something I've not tried. A ram drive
    or a simple swap system? The problem is it would have
    to be very sophisticated good for a ram drive to work
    well with windows. Since it handles tons of things behind
    the scenes. It might interfere and you have to plan for
    a lot of things. Don't even know if Delphi does this
    sort of thing. What is the puprose of the ram drive?
    I've not even setup a ram drive in gosh 20 years....
    man...then I used those ancient utils around the boards...



    ... AD&D Mistake #31: Grabbing the DM's bag of chips
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)