Search results

  1. Crutch

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Oh sure - Hippo C was allegedly the first Mac C compiler but I don’t think anyone is known to have a copy anymore. https://retrocomputing.stackexchange.com/questions/3213/what-was-the-first-c-compiler-for-the-mac#3220 Consular Mac C was also, I think, released in 1984 (I have a copy from 1986)...
  2. Crutch

    ThinkC Creating dynamic lists in ThinkC

    Yeah we are well into sophomore year computer science stuff here but … You can’t really resize an array. But you could: Allocate a “probably big enough but not too big” array, then if you need more space, reallocate a new, somewhat bigger array, copy everything over, then dispose of the old...
  3. Crutch

    ThinkC Creating dynamic lists in ThinkC

    Agree with YMK, but just for fun/hobby purposes, if the number of it items will be reasonably small, a linked list of structs is probably your answer. Something like this. typedef struct Foo { char name[20]; int size; struct Foo *next; } Foo; … Foo *GetNewFoo(char *name, int...
  4. Crutch

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Right, the Toolbox routines were set up for Pascal-style calling conventions on the stack.
  5. Crutch

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Most of the core parts of the Toolbox were actually written in 68k assembly. But you are right that the standard high-level language with which developers were expected to implement Mac applications in 1984 was indeed Pascal … but it would have been Lisa Workshop Pascal running on a Lisa...
  6. Crutch

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Random belated endorsement for the excellent choice of using C. I resurrected some old Pascal game code I wrote in 1992 (https://macintoshgarden.org/games/beamwars) for an updated “30th anniversary edition” (still coming soon … eventually) and dealing with the Pascal quickly became a giant...
  7. Crutch

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Popupfuncs garden link - from our own @Mu0n I think! https://macintoshgarden.org/apps/popupfuncs Popupfuncs came bundled with another extension called Technicolor which I highly highly recommend - it provides syntax coloring in THINK C 6. Not sure if this link includes Technicolor - if not I...
  8. Crutch

    ThinkC Moving code from version 5 to 6 then to 7

    In general there are compiler settings in the project preferences dialog box that can ameliorate a lot of this (type checking in particular), but yes, moving to Universal Headers will certainly be a breaking change for a lot of code. Most of the changes are fairly trivial but for education...
  9. Crutch

    Another dual PDS Adapter for SE/30? 🤔 (PDS only, no cache connector)

    What is that little daughtercard there? It looks like it wants to support DC-in and Ethernet?
  10. Crutch

    ThinkC Movie Crawl

    That’s a cool project. Challenge accepted! This is just using direct pixel manipulation, not QuickDraw 3D or any of that — so in theory would run on a real Mac Plus, but is only running fast enough here because it’s on an emulator. Lots of work to make it much smoother and faster, remove...
  11. Crutch

    WarpSE: 25 MHz 68HC000-based accelerator for Mac SE

    Of course one can do anything with some combination of hardware and software … but go too far and what one has isn’t really an “SE” anymore! You can’t use all 16MB for RAM without 32-bit addressing. It just isn’t possible, because in 24-bit mode, there are only 16MB of addressable bytes in...
  12. Crutch

    WarpSE: 25 MHz 68HC000-based accelerator for Mac SE

    I’m not sure it’s really fair to describe it as idiocy … in 1984 surely nobody was thinking anyone would desire to upgrade their 512k Mac to 8MB! Perhaps it was a different story by 1986 … Anyway I don’t think it’s just a matter of connecting address lines. Making the full...
  13. Crutch

    [Idea] Macintosh 68k Programming Study Group?

    Wow this is very cool and I was not aware of it.
  14. Crutch

    Problem with Total Systems '030 accelerator in Plus

    Those voltages sound fine. I have one of these too, I don’t think this is a PSU issue. Checking for continuity between the accelerator pins and the 68000 and checking the accelerator traces is probably the next stop.
  15. Crutch

    [Idea] Macintosh 68k Programming Study Group?

    THINK C 6 runs under all flavors of System 7, yes.
  16. Crutch

    [Idea] Macintosh 68k Programming Study Group?

    Beautiful work guys!
  17. Crutch

    [Idea] Macintosh 68k Programming Study Group?

    What a great post @Mu0n . Everything you wrote there sounds brilliant! I would LOVE to get access to an archive of all the old MacTutor articles. I have been meaning to track down one of those CDs myself one day. I would quibble with one thing - Mini vMac under Mac II emulation can make the...
  18. Crutch

    [Idea] Macintosh 68k Programming Study Group?

    I keep meaning to try Retro68 but the edit-compile-run-test loop feels awfully clunky. Every time I want to try my code I have to go through some LaunchAPPL gymnastics? THINK C in an emulator is blazing fast, reliable, and has a built-in debugger. It seems to me like the way to go.
  19. Crutch

    New piece - neon art

    Beautiful! More information please. Where on Reddit? What eBay seller?
  20. Crutch

    Macintosh SE Sad Mac: Bad RAM chip identification possible?

    @JDW try this https://www.macintoshrepository.org/9613-think-reference-2-0 THINK C came with a very stripped down version of THINK Reference that only included documentation on the C standard library. The Toolbox documentation was a separate, paid product, linked above.