From: Philippe Teuwen <s952365@student.ulg.ac.be>
Subject: Write-Protected? My foot!
Date: 30 May 1996 00:00:00 GMT
Message-ID: <31ACCFD4.3E4E@student.ulg.ac.be>
content-type: text/plain; charset=iso-8859-1
organization: ULG
mime-version: 1.0
newsgroups: comp.sys.hp48
x-mailer: Mozilla 2.0 (Win95; I)


Hi everybody,

You can write on a write-protected card!!!
(I don't know if it's new for you but for me yes!)
Everywhere, men and books said me:
If you want to make dangerous things (like ML or SysRpl)
take a RAM card and write-protect it.
What I've done in fact is I've added some chips (->384k on my G)
and write-protected them.
But in some very big crashes, my port1 and/or my port2 were corrupted.
Because of that, I've thought to make a routine to write on a
protected card.
In fact, I've just decompiled the HP routines and breaked the
read-only test.
Here is the result: STOLIB can store a lib(and only a lib) in a port 
  #2: library             In fact it works only on my port2
  #1:    real  (port)     but not on my port1 (->makes a reset and it's all)
PURGLIB can purge a lib in a port 
  #2:    real  (Nr of the lib) 
  #1:    real  (port)
I hadn't any memory corruption but take obviously care in using these progs.
You see what I mean (No Warranty ...)
If someboby can try them on a real card and give me the results,
it'll be very pretty.

[STOLIB and PURGLIB are included in this zip file]


-- 
SIGNATURE
 .=cccccccccccccc     ..ccccccccc  ..=cccccccc ..ccccccc  ..ccccc  .cc  .cc
:::"$$$$$$$$$$$$$$$b ::$$$$$$$$$$$$b::"$$$$$$$$:$$$$????$b:$$????$b`:"$cc$" 
`:::"$$$$""""""""$$$$b:"$$$$""""""$$$b:"$$b''''::$$b:'''''::$b`:$b `:$"$b
 `:::"$$$b`:::"$$$b:"$$$b`::"$$b:"$$$$$$b::$$b  .cc$b:$b  `:$b.$?`:$b
  `:::"$$$b    `:::"$$$b:"$$$b   `::"$$b:"$$b:::'::$$b  ''c$b:$b$$??"`:' `''
   `:::"$$$b    `:::"$$$b:"$$$b   `::"$$b:"$$b   `::$$bccc$$?`:""::''
    `:::"$$$b    `:::"$$$b:"$$$b   `::"$$b:"$$bccc$$:???"""::' `''
     `:::"$$$b    `:::"$$$b:"$$$b   `::$$$b:"$$$??"":`:::''
      `:::"$$$b    `:::"$$$b:"$$$bccc$$$$$"`:::::'''  
       `:::"$$$b    `:::"$$$b:"$$$$$$??"":'
        `:::"$$$b   .cc$$$$$$`:::""::::''
         `:::"$$$$$$$$$$$$??"' `''''
          `:::"$$$$??""".:::'
           `::'.:::::''''
            `::'''
