* TinkerDifferent *
Retro Computing Community
Home | Forums | What's New | Search | Settings
CodeWarriorSDL2 for classic MacOS "rough draft"

Forums > Vintage Apple > Software & Operating Systems > Software | Development

lauland
Tinkerer
--------
Joined: Dec 12, 2023
Posts: 39
Likes: 28
Apr 10, 2025 - #1
https://macintoshgarden.org/apps/sdl2-macos-9-rough-draft

Very very rough port to classic MacOS, but tests work. Despite the current name (which I'll be changing), also runs on M68k 7.6.

I created a video driver (which also handles events, only Command Q for now). Basic drawing works, but ALL other drivers are dummy.

Debug output in stderr.txt.

Liked by cy384,devilaether,bakkusand 2 others

bakkus
Moderator
--------
Joined: Mar 18, 2022
Posts: 110
Likes: 75
Apr 10, 2025 - #2
Whoah! This is fantastic! This unlocks SOO many possibilities.

lauland
Tinkerer
--------
Joined: Dec 12, 2023
Posts: 39
Likes: 28
May 4, 2025 - #3
FYI I discuss my progress over at system7today in their forums...
https://system7today.com/forums/index.php?topic=3950.15

lauland
Tinkerer
--------
Joined: Dec 12, 2023
Posts: 39
Likes: 28
May 18, 2025 - #4
Updates:
Enough key and mouse events now for really basic games.
Have switched primarily to Retro68 from Codewarrior and loving it.
Split stuff only CodeWarrior needs just for it.
All tests build, but, of course, many still fail due to missing drivers.
Created skeleton audio and joystick drivers, will be trying to move over parts of SDL 1.2 drivers.
timer and loadso drivers from SDL 1.2 converted, but need testing.
Now have SDL_main() based on SDL 1.2's, needs testing.
Uses resources from SDL 1.2 since they were good enough.
Refined SDL_config_macosclassic.h, everything possible now included.
OpenGL support and renderer now building, but nothing in driver but stubs so far.
Fixed lots of memory and cleanup issues/bugs.
Did basic what was needed and created simple video driver for m68k Amiga and it works.
Tons of cleaning and refining.

Liked by ClassicHasClass

lauland
Tinkerer
--------
Joined: Dec 12, 2023
Posts: 39
Likes: 28
May 26, 2025 - #5
Now have SDL2_image, SDL2_mixer, SDL2_ttf and SDL2_gfx.
SDL2_image and SDL2_mixer aren't using ANY external libraries yet, as I haven't built them, so file formats limited.

Liked by cy384andClassicHasClass

Page 1 of 1

Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings
XenForo Retro Proxy by TinkerDifferent.com