TempleOSCDV4.08.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:47:25 +02:00
1 parent b632ab9a4f
commit 2d56cda5f3
258 files changed
+6973 -5476

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#define DB_FILENAME "::/Home/DataBaseDemo.BIN"
#define DB_FILENAME "~/DataBaseDemo.BIN"
#define DB_MAX_ACCT 100
#define DB_ACCT_BLKS 1
+5 -5
View File
@@ -17,19 +17,19 @@ U0 RawAccess(I64 drv_let=0)
//Temporarily change partition range to full device.
//Normally, you are limited to just your partition.
//This is obviously $BK,1$dangerous$BK,0$!
old_offset=dv->base_offset;
old_offset=dv->drv_offset;
old_size =dv->size;
dv->base_offset=bd->min_blk;
dv->size=bd->max_blk-bd->min_blk+1;
dv->drv_offset=0;
dv->size=bd->max_blk+1;
try {
blk=GetI64("Blk to Read: ",old_offset,bd->min_blk,bd->max_blk);
blk=GetI64("Blk to Read: ",old_offset,0,bd->max_blk);
RBlks(dv,buf,blk,1);
D(buf,BLK_SIZE);
} catch
PutExcept;
dv->base_offset=old_offset;
dv->drv_offset=old_offset;
dv->size =old_size;
Free(buf);