Recent content by bribri

  1. bribri

    68k Any sampling profilers for Mac 68k?

    Thanks! I think at this point the profiler is basically done. The one change I'm thinking about making is improving how the samples it takes are stored in memory. Right now they're all just stuffed into a buffer one after the other, until the buffer runs out of room, and then it can't take any...
  2. bribri

    68k Any sampling profilers for Mac 68k?

    Do feel free to use the profiler, though I now realize that there's some things in it that need to be fixed. Currently it discards samples where it can't do a stack crawl, which means it might discard legitimate samples from functions that make use of register A6. Edit: the fix for this is now...
  3. bribri

    68k Any sampling profilers for Mac 68k?

    Let me know how it goes! I added a bit more instructions to the repo's read me.
  4. bribri

    68k Any sampling profilers for Mac 68k?

    For anyone following here, I did actually figure out how to do this, and have made a 68k sampling profiler for Retro68 projects. Repo here: https://github.com/briankendall/Profiler68
  5. bribri

    68k Any sampling profilers for Mac 68k?

    Whaaat! I'm definitely going to take a look at that!
  6. bribri

    68k Any sampling profilers for Mac 68k?

    Checking with the debugger, I'm still seeing inconsistent layout of the stack at interrupt time. I'll take a look at the Time Manager source code and see if anything can be gleamed from that.
  7. bribri

    68k Any sampling profilers for Mac 68k?

    Awesome, thanks! Also, I figured out how to trigger MacsBug in my code. As simple as Debugger() 😉
  8. bribri

    68k Any sampling profilers for Mac 68k?

    I did something that I think is basically equivalent to that: Each time my Time Manager task fired, I had it get the address of the stack, and then scan through it looking for anything that could be an address of my program (looking for specific address ranges). I then had it print all of those...
  9. bribri

    68k Any sampling profilers for Mac 68k?

    I said I didn't want to reinvent that wheel... but I gave it a shot! I had the sense of what was the difficult part reversed, though. Correlating an instruction address with a line of code is fairly easy -- that's what building with debugging information is for. But I haven't figured out how to...
  10. bribri

    68k Any sampling profilers for Mac 68k?

    I'm been exploring profiling the code I'm writing, and I'm wondering what options are available. I've gotten CodeWarrior Pro 4's profile working, and while it certainly provides some useful information, it only provides timing on a per-function basis. I'm wondering if anyone made a sampling...
  11. bribri

    Netatalk 4.0 - Future-proofing Apple File Sharing

    @rdmark It's definitely using the right file. My current afp.conf: [Global] uam list = uams_guest.so guest account = username log level = default:debug log file = /opt/local/var/log/netatalk4.log extmap file = /opt/local/etc/extmap.conf [Stuff2] volume name = Stuff2 path =...
  12. bribri

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I tried adding "legacy volume size = yes" to my volume, and it had no effect. :cry: Could there be a broader issue with certain settings not being used? I created a GitHub issue for #2, and I think I found a way to consistently trigger it which I describe in the report.
  13. bribri

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I just noticed some more unusual or buggy behavior. These are all happening on an emulated system in BasiliskII running System 7.5.3 with AppleShare 3.7.2 and Open Transport 1.1.2. 1. The AFP volumes I'm mounting list all files as being 27.9 MB. 2. The first time I mount a volume the extension...
  14. bribri

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I'm using netatalk 4.2.0. Here's my afp.conf file: [Global] uam list = uams_guest.so guest account = username log level = default:info log file = /opt/local/var/log/netatalk4.log [Stuff] volume name = Stuff path = /Users/username/misc/afp file perm = 0666 directory perm = 0777 ea = ad The...
  15. bribri

    Netatalk 4.0 - Future-proofing Apple File Sharing

    I've got an issue maybe someone here can help with! I'm trying to set up an AFP share in modern macOS that I connect to from Mac OS 7.5, and I want the contents of this share to be able to be added to a git repo. Since git doesn't handle extended attributes at all, I'm trying to set up the...