LisaList2

Advanced search  

News:

2022.06.03 added links to LisaList1 and LisaFAQ to the General Category

Pages: [1]   Go Down

Author Topic: How do I mount a blank diskette in LisaEm?  (Read 2650 times)

kewatsdop

  • Full Member
  • ***
  • Karma: +8/-0
  • Offline Offline
  • Posts: 28
How do I mount a blank diskette in LisaEm?
« on: January 29, 2022, 09:44:04 am »

OK, there must be something obvious I'm missing here. Trying to copy files to a "beep.dc42" diskette on a Mac, LisaEm 3rd Release Candidate of 1.2.7. Here's how I proceed:

1. File -> Insert blank diskette.
2. Name it beep.dc42 and save.
3. Start Workshop.
4. Go to File Manager -> Online.

I can't see the diskette device to mount or to initialize.

Where do I find the diskette I just inserted so that I can initialize/mount it?

Online devices only show for me:

#15#1   ALTCONSOLE
#15#2   MAINCONSOLE
#10#1   RS232A <printer>
#11       PARAPORT    AOS 3.0
Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: How do I mount a blank diskette in LisaEm?
« Reply #1 on: January 29, 2022, 11:54:37 am »

File names in the LPW/LOS operating system are weird. Instead of using / or \ as a separator, they use -

And weirdly enough LOS file names can and do contain / characters as you'll see here: https://www.highcaffeinecontent.com/blog/20140527-Lisa-Pascal-Development-in-Lisa-Workshop

So the root is just - and the devices are # followed by a number and then another separator. So "-#13-=" means current directory in 13 (I think)
equivalent on Linux/macos would be /13/.

Edit: just tried it.

The Sony 400k Floppy device is "-#13-" on LPW but when you insert the floppy disk it, you'll have to use the F)ILE-MGR menu to do that.

1. Press F to get to File Manager
2. Press ? to see the 2nd set of commands (probably can be skipped)
3. Press I to "Initialize" the device
4. type in "-#13" without quotes and hit enter.
5. Then hit Enter again for whole device.
6. Give it a name, I'd suggest the same name as the dc42 file without the dc42 extension. i.e. sounds
7. Hit enter for max number of files (it's 56) - this will create that many extents (inodes)
« Last Edit: January 29, 2022, 12:15:25 pm by rayarachelian »
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

kewatsdop

  • Full Member
  • ***
  • Karma: +8/-0
  • Offline Offline
  • Posts: 28
Re: How do I mount a blank diskette in LisaEm?
« Reply #2 on: January 29, 2022, 12:37:38 pm »

It worked!!! Thank you. I attached the diskette image to the thread on Pascal program.

I'll now try to build an executable diskette (be patient with me...).
Logged
Pages: [1]   Go Up