bbs: ram_disk

ZXNet echo conference «code.zx»

From Aleksandr Majorov To Denis Parinov 21 June 1997

* Message from gate SpbZxNet<=>FidoNet. Hello, Denis! Somehow 06/20/97 at 05:56 Denis Parinov wrote something for Aleksandr Majorov on the topic "bbs: ram_disk"... [skip] AM>> I will give a list of all restarts later... DP> Kada? soon, soon... You'll regret this... [stingy] -+------------ hence --------------- ; Input: ; HL - DataAddress ; DE - TrackSector ; B - Lenght ; C - Command #00-LOAD/#01-SAVE ; ; Output: ; HL-LastAddress ; DE - TrackSector FIRST_B EQU 0 ; logical bank number ; from which it began ramdisk RAMDRV LD A,E EX AF,AF' LD A,D PUSH HL EXX LD L,A LD H,0 ; We count ADD HL,HL ; initial ADD HL,HL ; address(offset) ADD HL,HL ; on ramdisk ADD HL,HL EX AF,AF' ADD A,L JP NC,L000 INC H L000 LD L,A -+------------ to here ---------------- Ps-s-s! Glitch: as far as I understand, you are the sector number [E] you add to junior. byte address? So the sec size is 256 bytes = #0100 Next: by counting this type we lose There are 7 sectors on the ram disk! 1792 bytes!!! (tkr0, sec 9...15)!!! [skip] DP> This program is written for 128 computers. Well, sort of redo it DP> not difficult if, it is unclear or unsuccessful, it is not very good DP> hit ;-) (it was late - I wanted to sleep)! I’m not worried, student: I’ll hit you carefully, but strong! Ga-ga-ga (C) Diamond Arm And now to the point: just touch the main 128K, i.e. The ram disk takes the upper memory under itself => There is no need for a page label. It is better to hold the disk “upside down”, i.e. start from the largest page, this will allow the scorpion to enter the shadows until from time to time... Drivers must be tailored to specific type of car (that’s why they are drivers), and optimized for the required size. Here are some thoughts on the structure: enter 2 input points: +0 enable/disable driver, in [A]= #00 off, #01 on +3 work with the driver (write/read) The +0 point is useful when using a screw: at A=#01, transfer the screw sections to others, and at A=#00 normal values will be restored For non-vint, just set RET here DP> Best regards, Denis. And I...this one, what's my name?.... Ah! Alexander (*MAS*) -+- editor named Zasma + Origin: RST #00 (812/00.00)