Skip to content

Conversation

@smallsco
Copy link

Summary

Adds a Micropython m68k port of the FlyingLine demo from the "Macintosh C Programming Primer" book.

Testing

Tested using Micropython m68k 20250801 on Mac OS 7.6.

@jepler
Copy link

jepler commented Aug 10, 2025

hm, to enforce code formatting styles on examples/ or not ..

@smallsco
Copy link
Author

Oh, I think it might be unhappy given that the file's formatted with MacRoman text encoding and uses CR line endings 😅

@jepler
Copy link

jepler commented Aug 10, 2025

the demo does appear in the generated dsk image and work, though, so that's good!

@smallsco
Copy link
Author

Converted to UTF-8 encoding with LR line endings, Micropython will still run the example and now it looks nice on GitHub too!

@smallsco
Copy link
Author

Formatting should be fixed now as well

@jepler
Copy link

jepler commented Aug 10, 2025

Thank you!

I disabled ruff formatting of the examples, but I would like them to be in a newline style that github is able to display.

@jepler jepler merged commit 0f5f932 into m68k-micropython:main Aug 10, 2025
4 checks passed
@smallsco smallsco deleted the flyingline branch August 10, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants