@eschaton@mastodon.social
@eschaton@mastodon.social avatar

eschaton

@eschaton@mastodon.social

Work on tools for people to do work. Play with old computers in my spare time. Only ever speaking for myself.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

eschaton, to retrocomputing
@eschaton@mastodon.social avatar

I’ve been playing around with creating a new ROM from scratch for an existing 68K system and I’m excited to see MAME has a “gdbstub” debugger. I don’t have space in the ROM for debug symbols, and it’s a raw binary anyway (produced by a linker script). How do I tell gdb how to map the .o files with symbols to the ROM image so I get source level symbolic debugging?

eschaton,
@eschaton@mastodon.social avatar

@alexr 68k, what else would I do? :)

eschaton,
@eschaton@mastodon.social avatar

@alexr Ah, just a 68010 SBC implemented in MAME. It’s way, way more than just arcade systems. :)

eschaton,
@eschaton@mastodon.social avatar

Anyone have any references or suggestions for how to produce symbols for a ROM I’m generating, so I can do source level debugging of it with gdb?

eschaton,
@eschaton@mastodon.social avatar

@rhempel Compiling my own entirely from source. It’s looking like I’ll have to use a linker script to produce an ELF file with the sections assigned addresses and then use objcopy to produce the ROM binary, instead of using a linker script to produce the ROM binary directly.

eschaton,
@eschaton@mastodon.social avatar

@rhempel Don't worry about being a ReplyGuy, your insights are valuable! Using an ICE on real hardware isn't a problem, I have one and have done that before. :) Getting the toolchain to do what I want is the part that I've been struggling with. Fortunately I don't even need to pull out the ICE, I have a software emulation with a gdb stub that I can connect to, I just need to be able to feed it symbols too.

eschaton,
@eschaton@mastodon.social avatar

@rhempel Yeah, the GDB stub is part of the emulator and manages breakpoints itself, so I don’t need to worry about copying the code to RAM before running it. So what I expect I need to do is:

  1. Use a linker script to generate an ELF file with everything at the right addresses, plus symbols.
  2. Use objcopy to make a ROM image form it.
  3. Attach gdb to the emulator’s stub and tell it to look to the ELF file for symbols.
  4. Set a breakpoint in my init code.
  5. Start the emulator.
eschaton, to random
@eschaton@mastodon.social avatar

How is Tucker Carlson, heir to the Swanson frozen food fortune, not acting as an unregistered agent of a foreign government?

schwa, (edited ) to random
@schwa@mastodon.social avatar

deleted_by_author

  • Loading...
  • eschaton,
    @eschaton@mastodon.social avatar

    @schwa Mmm, Anderson Bakery!

    CelloMomOnCars, to random
    @CelloMomOnCars@mastodon.social avatar

    San Francisco, Chinese New Year.
    The streets are PACKED with people celebrating. A robotaxi muscles its way through, carrying no passenger.

    So it's an empty robot car, taking up the space of a dozen people standing, barging through the crowd which is crowded.

    And police are scratching their heads about how the car ended up torched.

    https://sfstandard.com/2024/02/10/waymo-robotaxi-goes-up-in-flames-in-chinatown-after-crowd-attacks-vehicle/

    eschaton,
    @eschaton@mastodon.social avatar

    @CelloMomOnCars Anyone who claims they saw anything is a scab.

    eschaton, to random
    @eschaton@mastodon.social avatar

    If a rental property is vacant for more than six months, and doesn’t have permits for (confirmed) renovations scheduled beyond that time, rental decisions should revert to the city: The landlord should be required to submit paperwork detailing the fixed and projected maintenance costs, and the city can run a “rental auction” where the highest bidder above that rate gets to rent the property for the next five to ten years—with sublet rights at up to 15% profit margin.

    eschaton,
    @eschaton@mastodon.social avatar

    This ensures that a landlord still gets to make money (or at least break even) on their property while preventing them from being allowed to create blight in order to score points in bullshit accounting games.

    eschaton, to random
    @eschaton@mastodon.social avatar

    Why isn’t everyone even remotely involved with illegal settlements in the West Bank on the sanctions list?

    eschaton,
    @eschaton@mastodon.social avatar

    @schwa Yeah. “Settlement” is an ethnic cleansing strategy, quite explicitly.

    h_thoreson, to random
    @h_thoreson@mastodon.world avatar

    seeing so many posts on here from 50-something men complaining that younger software engineers can't do as much

    i would really like to settle in somewhere and just truly master 1-2 things instead of having to constantly pick up random pieces of garbage and try and use them to reinvent the wheel, but unfortunately the economy has basically incentivized software engineering to become a trade centered around picking up garbage and jamming it in random holes.

    if you're old be a leader and fix this

    eschaton,
    @eschaton@mastodon.social avatar

    @mjgardner @h_thoreson I was going to point out something similar; I don’t (necessarily) blame it on project and product “management” (which isn’t management) but on management. In a lot of organizations, if you don’t have a rather senior management role you may win some battles but you’ll never actually win the war against technical debt, feature creep, lack of polish, and so on simply because you won’t have the authority to force the organization to prioritize it.

    mcc, to random
    @mcc@mastodon.social avatar

    This seems like one of the better places on the Internet to ask for help with retrocomputing algorithms.

    Imagine I have a series of "damage" rectangles representing parts of a screen canvas that need redrawing. I want to take a "union" of these rectangles, such I get a minimal rectangle set where any rectangle "inside" of other rectangles disappear (or even better, so if I clear all rectangles no pixel clears twice).

    I am told Bill Atkinson had a really brilliant "region" algorithm… (1/2)

    eschaton,
    @eschaton@mastodon.social avatar

    @mcc I could've sworn that, after the patent expired, there was at least one blog post delving into the structure and implementation of regions if you don't want to spelunk through the QuickDraw sources. I did find this explanation from the info-mac list in 1985… https://info-mac.org/viewtopic.php?t=17328 and this MacGUI post http://basalgangster.macgui.com/RetroMacComputing/The_Long_View/Entries/2010/8/29_Regions.html — I think that may be what I'm remembering.

    swetland, to retrocomputing
    @swetland@chaos.social avatar

    While delving into native 68k Mac development, I have discovered that I am now soft and weak and find it rough to read dense C code without at least some minimal syntax highlighting.

    But as far as I can see, it simply DID NOT EXIST back in the 68k Mac era. BBEdit 4 supports it, but it's a post-System-7 post-PPC fat binary.

    Anyone know of anything before that? Were there any notable competitors to BBEdit for programmer's editors on 68k Macs?

    eschaton,
    @eschaton@mastodon.social avatar

    @alexr @swetland @siegel Eric Slosser's PopUpFuncs might run on System 6, is that the hack you're thinking of Alex? :) http://preserve.mactech.com/articles/mactech/Vol.07/07.02/EasyLife/index.html

    There were other programming editors available, I used Pete Keleher's Alpha a ton because it was emacs-like and particularly great with TeX, and it did syntax highlighting. I don't recall if Alpha 5 or 6 ran on System 6 though, I only lived on System 6 for a few months. https://www.his.com/~jguyer/Alpha/index.html

    eschaton,
    @eschaton@mastodon.social avatar

    @davepolaschek @alexr @siegel @swetland That was MPW 3.3 or 3.4, into the PowerPC era.

    eschaton,
    @eschaton@mastodon.social avatar

    @jongary @davepolaschek @alexr @siegel @swetland 1152x882, I have a friend's in my storage. :)

    barrelshifter, to random
    @barrelshifter@mastodon.social avatar

    what’s the most chaotic sticker i could possibly make for when wg21 comes to tokyo

    eschaton,
    @eschaton@mastodon.social avatar
    eschaton, to random
    @eschaton@mastodon.social avatar

    @siracusa @atpfm QuickDraw 3D was contemporaneous with the Game Sprockets APIs but it wasn’t actually a game API. It was a retained-mode scene graph API like SGI Inventor, NeXT 3DKit, or SceneKit. It sat atop a low level immediate-mode API like OpenGL called RAVE that supported hardware acceleration, and that was what games targeted.

    We got MechWarrior 2 working really well on RAVE, which was sad because that version was only available as a pack-in with some 3D accelerators (but worked on all).

    eschaton,
    @eschaton@mastodon.social avatar

    @siracusa At least MoltenVK doesn’t completely destroy performance, so the people who insist on only ever using one API can just use Vulkan if they care that much. And everyone else will just use an engine implemented atop the platform-native frameworks for maximum performance no matter what they’re running on. (The only people left unsatisfied will be those who insist Apple has to cede control over APIs to a third party, which, well, LOL.)

    eschaton,
    @eschaton@mastodon.social avatar

    Oh yeah, there was also an Open Source reimplementation of QuickDraw 3D atop (semi-)modern API called Quesa, so some folks really liked it as a scene graph API in C at least. https://quesa.sourceforge.net

    eschaton,
    @eschaton@mastodon.social avatar

    @jamesthomson Oh no, I'm so sorry for your loss! I didn't now Dair but recognize the name.

    eschaton,
    @eschaton@mastodon.social avatar

    And there's an updated version of Quesa on GitHub now too: https://github.com/jwwalker/Quesa

    Unixbigot, to random
    @Unixbigot@aus.social avatar

    The development of warp drive, surfing across space on a superluminal wave of compressed spacetime, was of course revolutionary. Humans began to gradually feel their way out into the cosmos.

    But to be honest, more people’s lives were changed by another application of warp physics. The warp field projectors fitted to a number of notorious structures in earth cities finally ended the aggravating traffic disruption of trucks getting stuck under low bridges.

    eschaton,
    @eschaton@mastodon.social avatar

    @oddhack The Hitch-Hiker’s Guide film did this well, with the toaster-knife lightsaber. Or was it the TV version? Can’t recall.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • modclub
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Durango
  • Youngstown
  • slotface
  • thenastyranch
  • love
  • kavyap
  • GTA5RPClips
  • normalnudes
  • tester
  • khanakhh
  • ngwrru68w68
  • everett
  • osvaldo12
  • rosin
  • ethstaker
  • Leos
  • anitta
  • cubers
  • tacticalgear
  • cisconetworking
  • provamag3
  • JUstTest
  • All magazines