Jump to content


  • Content Count

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I went back this evening and realized after reading that I was actually using speed "0" which is variable and not what I intended to be testing on at all. I switched to "1" and agree that performance is a bit lacking. I spent a bit of time on it and got it a lot better this evening but still have some work to do. I also got text width measurement working right which I frustratingly figured out (without any documentation that I could find!) that you must set the graphics port before measuring text - even if the font and font size are the same between ports - otherwise the measurements will not
  2. That’s interesting that you note speed being an issue there- I’ve been testing with the classic emulator at 1x speed and felt like it was totally usable with pretty much native level performance, I’ll have to look into the disconnect there. I see no reason why this shouldn’t be able to work fine on 68000 Macs
  3. Okay so maybe not "this evening" but almost a week later (I'm busy!), but I did finally get around to packaging up a relatively comprehensive nuklear demo, nuklear's "overview.c" from their official repo. I zipped it up as a .bin and a .dsk, if anyone wants to try to to run it. So far I have only run this on the pce-mac-classic emulator and not a real Mac. It looks and runs pretty good, maybe needs a little tweaking here and there but seems totally acceptable to build an app with, keeping the limitations in mind. The code behind the app demo is really small in terms of what you wou
  4. I can provide the built calculator demo later this evening, I don’t think I included it in the repo. Otherwise you’ll need to build it yourself. Other than that nothing exists yet
  5. Yes, I was able to do the same thing. The entire UI is drawn using QuickDraw commands to an offscreen bitmap, then then drawn to the window as a single CopyBits command, much like double buffering in a video game engine. This works really really well and made the UI perform perfectly, eliminated flicker, etc. Like I said the performance here is really, really good.
  6. Very cool project! If you find the time, you should post your code on github or another source sharing website, others may be able to help out, give suggestions, build on your code, etc. For example I've recently written quite a bit of serial code for the Mac and would be curious how you've written yours
  7. I've now got nuklear fully working outside of a few small things and code cleanup (for test apps anyways, going to start using it to build something more useful soon...) using B&W QuickDraw at https://github.com/CamHenlin/nuklear-quickdraw. I think having a simple immediate mode GUI library is really nice and is going to be an excellent choice for building out small apps for Classic Macs rather than needing to dive in on the toolbox. The UI performance is excellent, with no flicker of any kind and instant response to user input, on the Mac Classic emulator running at standard speed. Using
  8. I made some progress on building a QuickDraw backend for Nuklear (https://github.com/Immediate-Mode-UI/Nuklear) last night and finally got it drawing a UI! Not usable yet but I’m liking where it’s going. I’ve found the “Inside Macintosh: Imaging with QuickDraw” most helpful here so far: https://github.com/CamHenlin/nuklear-quickdraw/tree/messy-but-kinda-working I’ve got it trying to display (and run) a calculator and took a short video. I believe I’ll have it fully functioning soon. Even if it ends up not being entirely useful I’m learning a lot building it out IMG_2336.MOV
  9. Awesome! Very cool project! I like the idea of running on something small like an 8266 too! I think I have 4 or 5 of those things sitting around. Great hack using HyperCard too. I love the writeup in your git repo re: rs422 <-> rs232 serial communication. I don't have a physical Mac yet but have a Macintosh Classic getting here on Monday so I suspect I'll be dealing with a similar issue soon So on to your questions... Yes I am compiling from codelite and using a script to mount it in a pce/macplus VM. I followed this guide to get set up: http://www.toughdev.co
  10. Super interested in your headers if you have the opportunity to do that - sounds like you have a really solid approach figured out. If you put them up in a public github or gitlab repo I may be willing to use and contribute as well - very interesting! Thanks for posting about TCL - I just started looking at this one and it actually looks somewhat nice to use as well. One of the things that immediately strikes me about TCL is that it is all relatively simple standard .c and .h files that could be (I think, obviously haven't tried yet) fed into a modern Retro68 project with
  11. Beautiful! My first job was writing VBA applications against Office 97 so I definitely have a soft spot for these kinds of tools
  12. Thanks for posting that MacTech article, I hadn't seen that in the past. I think that using LISP there makes sense from the perspective of testing out the toolbox, as the article mentions, but I find it unpalatable to consider writing a full program in it Is this the duktape project that you mentioned? https://github.com/kentaromiura/NativeReactLikeInMacintosh Regardless, I know you mentioned it was as a joke, but I think it's an interesting idea to bring a JS-based rendering engine to older Macs. I wonder if an even smaller JS engine like quickjs or jerryscript may be a better f
  13. I'm still interested in others' input, but I think I am pretty set on trying to create a QuickDraw back end for nuklear using the allegro5 back end as a guide. I am going to start looking at this tonight or tomorrow evening. I have some older experience with Alllegro so this seems like a good fit for me. My intents up front will be: - Get a POC working as quickly as possible to prove the idea is solid, get the source code online for others to look at. - only support 1 font up front - loading in other fonts from nuklear would require more complex image rendering that Quic
  14. Nice, hadn't seen that before. I also found its github page at: https://github.com/lvgl/lvgl looks similar to nuklear and imgui, should definitely be in the consideration. edit, although porting looks a lot more intense, see this linux framebuffer example: https://github.com/lvgl/lv_port_linux_frame_buffer
  15. I was curious what people's opinions were on the state of GUI programming on old Macs. Here goes my rambling post on the subject, hopefully this is enough to get a discussion going. For some background, I am new to Mac programming but experienced with programming in general. I have been doing a fair amount of programming using the Retro68 console recently, but now I'm looking to create some more GUI-based applications, so they can feel more "Mac-like". I've been pouring through the books "Inside Macintosh: Macintosh Toolbox Essentials" and "Inside Macintosh: More Macin
  • Create New...