LisaList2

Advanced search  

News:

2019.06.07 fixed NChat for the "Curve" theme, will eventually move it to its own page and add it to the default theme as well. Other plugins are next. see post in the Meta board for details

Pages: [1] 2 3 ... 10
 1 
 on: Today at 05:11:03 pm 
Started by rayarachelian - Last post by rayarachelian
Finally got it to build properly on x86_64 on 10.11, needs loads of testing, but had to do with with differences between libstdc++ and libc++.
Will need to give it a bunch testing before I cut a DMG. Timing will depend on how many bugs I find.

I've pushed the current code to github, incase you're impatient and willing to build it yourself :-) https://github.com/rayarachelian/lisaem-1.2.x

 2 
 on: Today at 04:05:32 pm 
Started by jamesdenton - Last post by D.Finni
Just curious if anyone has a copy, and whether it would have been a native Lisa app, or a cross-assembler on, say, an Apple II/III.
It's part of Apple's Macintosh Software Supplement.

 3 
 on: October 11, 2019, 08:26:51 pm 
Started by jamesdenton - Last post by rayarachelian
Don't know, but there's references to it here on PDF page 21 (document page 19): https://vintagecomputer.ca/files/Apple/Macintosh/developer/MacSupplement-May.1985.pdf
Also PDF page 27 (document p25).

Based on this, I'd guess that this is the same assembler as in the Lisa Pascal Workshop, is not included there?

 4 
 on: October 10, 2019, 01:37:34 pm 
Started by rayarachelian - Last post by D.Finni
My main computer for running LisaEm is an Intel Mac OS X 10.5.8.

But I also have an iMac G5 running 10.5.8.

 5 
 on: October 09, 2019, 09:41:16 pm 
Started by jamesdenton - Last post by jamesdenton
Has anyone come across the Lisa 68000 TLA Assembler software? Some of David Craig's Lisa documentation references this, and the Boot ROM assembly file accompanying the ROM code calls out the following:

ASSEMBLER - MC68000 (Ver 3.77)    02-May-85
(C) 1984 Apple Computer Inc.

Just curious if anyone has a copy, and whether it would have been a native Lisa app, or a cross-assembler on, say, an Apple II/III.

 6 
 on: October 09, 2019, 12:27:20 pm 
Started by rayarachelian - Last post by rayarachelian
So some history, I started LisaEm on a Dec Alpha AXP (Multia) running OpenBSD, I've had it on various v8 and v9 SPARC machines, and MacPower PC as well as most recently ARM, so I do aim for trying to keep it as portable as possible. G5 64 bit is interesting if I can get wxWidgets to compile properly. :) But it looks like it's not a priority from the current answers of this poll.

I do have 1.2.7-ALPHA working just fine on 32 bit PPC right now, but on x86_64 with clang it crashes with a segfault on startup now. meh... I'm gonna try to use brew.sh to install gcc and see if that will fix it, or be able to trace down the error. lldb is gcc like but it didn't tell me exactly where it segfaulted when I did list like gcc does. Obviously x86_64 os x is the highest priority for right now.

 7 
 on: October 09, 2019, 12:22:27 pm 
Started by rayarachelian - Last post by rayarachelian
I recently kicked the tires on this, and had to make a couple of changes to get it to compile on Mac OS X (Mojave), namely:

1. In asm.h:

// Replace the location of malloc for OS X
//#include <malloc.h>
#include <malloc/malloc.h>

2. In STRUCTURED.CPP:

// Comment this out for OS X
//#include <bits/stdc++.h> // RA added

I put together a simple 'Hello World' example that assembled successfully:

---
macbook-pro:simple jdenton$ cat hello.asm
START   ORG   $1000

   LEA   MESSAGE,A1
   MOVE.B   #14,D0
   TRAP   #15

   MOVE.B   #9,D0
   TRAP   #15

MESSAGE DC.B   'Hello World!',0

   END   START
---

macbook-pro:simple jdenton$ asy68k hello.asm
Assembling hello.asm

I opened up the resulting hello.S68 file in Sim68k and it ran! I was able to assemble NeoWidEx without any errors, and Sim68k didn't complain, but I'm not sure how to get it from assembled application to disk to Lisa. Another task for another day.

Great! Thanks! I'll have to make a note to update the code for that.

Actually if you look at the NeoWidEx stuff and the boot loader code Tom Stepleton has, he's got a bit of python code that builds a bootable Disk Copy image as the end result. But then if you're just trying to transfer a single file rather than to boot a standalone app like NeoWidEx, that's not going to do it.

You could also create a large file on a fully erased ( zero filled) floppy that contains a single file with nothing but sequential NOPs, make an image of that image, and then use LisaFSH-tool to replace it with your freshly assembled code a block at a time. It's not very straightforward, but could be done.  LisaFSH-tool is somewhat scriptable in the sense that you can pipe commands and data to it as if you were typing it, so if you write a bit of a script that keeps track of the sequential order of the sectors on such a floppy, and converts each block into hex and the right commands, you could use that to generate a Disk Image, which can then be fed to the Lisa.

If that's not good enough you can directly use libdc42 to read/write blocks and create images. But it doesn't understand the file system, so it's all block oriented. But if you start with a known image and know the sequence of blocks, it can be done. libdc42 works a lot like fopen/fread/fwrite/fclose but with dc42 images.  You'd always open an existing image, then you'd get back a pointer to a handle - just like fopen gives, which can then be used to read/write blocks and tags and then you'd close the image when you're done. There's some other functions that create a blank new image or convert an image, etc. It's documented in the comments at the top of the .h and or .c files.

I thought I could get a better lisafsh-tool file system handler for the Lisa built in a few days, but I was way off. :) and got busy/side tracked with other things, but that is on the stack of things to do eventually.

You can also paste text from the clipboard into LisaEm running the LPW Editor, but that's less ideal as you'd need something on the Lisa side to convert hex to binary and write it to a file. It doesn't look like LisaTerminal supports Xmodem or other file transfers sadly, though you can copy and paste from it to a Write document. http://bitsavers.org/pdf/apple/lisa/office_system/A6L0147_LisaTerminal_1983.pdf

Perhaps you could write a program in LPW that receives from the serial port and writes to a file using Xmodem (or better yet zmodem) and vice versa? Once compiled and linked that should work on LisaEm (since the trouble with LisaEm is the linker trips some weird emulation bug.)

XModem is pretty trivial to implement, either in C, Pascal, or 68k, ZModem a lot more complex, but there are reference implementations of various rzsz in C. You might compile one of those with a 68k toolchain on your macbook and then move the assembled code to the Lisa. I think there's some gcc toolchain out there for the Amiga that runs on modern linuxen. I think Steve Chamberlin of Big Mess O'Wires mentioned in his 68KATY project. Might be worth messing with.


 8 
 on: October 09, 2019, 03:31:16 am 
Started by jamesdenton - Last post by Lisa2
Thanks James!
When I get mine going I will do some testing to see how much current the setup is using.  I it nice to know that you have already done the smoke test....
Rick

 9 
 on: October 09, 2019, 03:19:29 am 
Started by rayarachelian - Last post by Lisa2
Ray,
I do think having a 32 bit PPC port is important, i do not think a 64 bit PPC version is of any priority.  That said, i do have a G5, and could do some testing if you need me too.
Thanks,
Rick

 10 
 on: October 08, 2019, 09:43:33 pm 
Started by rayarachelian - Last post by jamesdenton
I recently kicked the tires on this, and had to make a couple of changes to get it to compile on Mac OS X (Mojave), namely:

1. In asm.h:

// Replace the location of malloc for OS X
//#include <malloc.h>
#include <malloc/malloc.h>

2. In STRUCTURED.CPP:

// Comment this out for OS X
//#include <bits/stdc++.h> // RA added

I put together a simple 'Hello World' example that assembled successfully:

---
macbook-pro:simple jdenton$ cat hello.asm
START   ORG   $1000

   LEA   MESSAGE,A1
   MOVE.B   #14,D0
   TRAP   #15

   MOVE.B   #9,D0
   TRAP   #15

MESSAGE DC.B   'Hello World!',0

   END   START
---

macbook-pro:simple jdenton$ asy68k hello.asm
Assembling hello.asm

I opened up the resulting hello.S68 file in Sim68k and it ran! I was able to assemble NeoWidEx without any errors, and Sim68k didn't complain, but I'm not sure how to get it from assembled application to disk to Lisa. Another task for another day.

Pages: [1] 2 3 ... 10