4 ms·
Tetris Max 2.9.1 and Macintosh System 6.0.8 Bugs
- altairprime 3y ago(2023)
- dietrichepp 3y agoI’ve been doing some dives into Mac 68K programming recently, and ran into the same question—what about color on System 6? Like the author, I don’t have a Mac which is both color and runs System 6. The old Inside Macintosh volumes are sometimes difficult to follow. New features got added to newer system software versions, and new features got added to newer ROM versions, and if you want to support older Macs, then you sometimes have to search through the volumes until you find when a particular feature was introduced. (The original Inside Macintosh volumes are organized in chronological order, corresponding to major ROM or system software updates.) If you just look at the description of one of the functions in the OS or toolbox, there’s no mention of when it was introduced. I also discovered that despite my efforts to make a program compatible with the Mac 128K and 512K, my programs won’t run on those systems. The 128K and 512K have the very first ROM version, with the 64K ROMs, and I suspect that the application startup code which ships with CodeWarrior checks for a 64K ROM and aborts the program. So even if I’m careful to only use functions that are available in the 64K ROM, my program won’t run on a 64K ROM unless I use a different toolchain or rewrite the startup code.
- azalemeth 3y agoNaïve question: what's wrong with quemu and this emulation target?
- duskwuff 3y agoqemu only supports one 68k Macintosh machine target (the Quadra 800), which is too new to run System 6.
- Someone 3y agoCheck whether your code gets called by writing a main that doesn’t use any traps but just loops clearing the screen, fills it with black, clears it, etc. If it doesn’t get called, disassemble the startup code. It can’t be long. I would use a version of ResEdit that has a built-in disassembler (advantage: you won’t have to run that on a 512k Mac, but can use a beefier one or an emulator) You also may want to use the earliest version of CodeWarrior you can find, as support for System 6 may have stopped at some time.
- dietrichepp 3y agoCodeWarrior ships with the source code for the startup code, but it is unfortunately somewhat long.
- Palomides 3y agoI've heard later versions of codewarrior had crappier 68k support, not due to strictly deprecating it, but just lack of interest/maintenance work as the OS developed and PPC happened
- anthk 3y agoCheck jcs's site. He writes unix/openbsd related code but it has a section on System6 programming. https://jcs.org/system6c https://jcs.org/system6c Also, telnet to klud [DOT] ge to test his BBS hosted in a System 6 machine.
- jamesfmilne 3y agoTo target stuff that old I'd try MPW. I used to use Codewarrior back in the day, but these days I prefer MPW, as its more like developing on modern macOS/Linux.
- yyyk 3y agoI wonder how well this would have run with Ardi. I used to run a few older Mac games on it without serious issues some years ago.
- anthk 3y agohttps://github.com/autc04/executor https://github.com/autc04/executor
- zoky 3y agoARDI was the company, the emulator is called Executor. And it does do color emulation of System 6, but without using any Apple ROMs or software so it may not be a good test. It also has limited System 7 support, but it might be possible to disable that. But yeah, Executor was pretty awesome. Used to use it to make stacks in HyperCard on my DOS PC.
- anthk 3y agoYou can compile and build a fork: https://github.com/autc04/executor https://github.com/autc04/executor
- yyyk 3y ago* Building requires some mild patching, especially the SDL1 build, which one may want because... * Sound only works under the SDL1 build - but getting it to work requires passing in the --nosound switch. * Crashes far more than the original did. For now, the original binary is superiour.