Jump to content
Welcome Back! - Read Me First Read more... ×

ants

6502
  • Content Count

    163
  • Joined

  • Last visited

2 Followers

Profile Information

  • Gender
    Not Telling
  • Location
    Melbourne, Australia

Recent Profile Visitors

574 profile views
  1. ants

    MacToTheFuture SE30 Network Card Driver

    There's some Linux DaynaPort driver code floating around online if that helps: https://github.com/dmgerman/original/blob/master/drivers/net/daynaport.c Good luck.
  2. ants

    MacToTheFuture SE30 Network Card Driver

    Perhaps the Basilisk II source might help? Here is the ethernet driver: https://github.com/cebix/macemu/blob/master/BasiliskII/src/ether.cpp
  3. Thanks @joethezombie Check this out, Daniel Ek, CEO of Spotify retweeted my project! (via Steve, who wrote the PICT code I used in the app): There's my 15 minutes of fame right there
  4. I created 2 separate GitHub projects for the OAuth stuff: The server API & login page is written in .NET Core 2: https://github.com/antscode/MacAuth . This is what's hosted on 68k.io. A C++ client library for the Macintosh Toolbox: https://github.com/antscode/MacAuthLib. This is what displays the code dialog on the Mac, and handles the communication with the server. Technically these projects should work with any OAuth implementation. There doesn't seem to be much of an API for Amazon Music that I can find. Also, Spotify is the only streaming provider I'm aware of that streams music from the target device - and not from the source device, if that makes sense? If the imac is running a classic version of MacOS - or OS X with classic support, then maybe? You'd still need an OpenWRT router though.
  5. Hi all, I built a Spotify player for my Macintosh SE/30: The app is called MacPlayer and works thanks to the magic of Spotify Connect. The speaker itself streams and plays the music, and the Mac simply tells the speaker which song to play (as well as volume, current playlist, shuffle mode and other settings). Communication is over Wifi: The first version is pretty basic, it just plays your Spotify playlists. You can browse tracks, and the app displays 1-bit album art, which I think is a bit of fun: You can also choose which device to play from via the Devices menu: The app performs well on a stock SE/30, although it does rely on a bit of help from the on-board OpenWRT Wifi router to handle the HTTPS communication with the Spotify API. The router has stunnel installed on it, which acts as a HTTP to HTTPS tunnel. I updated the MacWifi Extension to allow the Mac to create SSL tunnels on the router as needed. Here’s a video of how the app performs (no music unfortunately due to Copyright): Another problem I had to solve was authenticating the app with a Spotify account. Like most modern web API’s, Spotify uses OAuth to allow third party apps to access their services. However the OAuth flow requires a modern web browser for users to enter their login details. To overcome this, I wrote an OAuth bridge for vintage Macs which delegates the login part of the process to another device such as a smartphone. The first steps are handled on the Mac: And then completed on a modern device: The final hurdle was with text encoding. The modern web uses UTF-8 for encoding text - which is a variant of Unicode. However, Unicode support was only available on PowerPC Macs as of MacOS 8.5, prior to that it was Apple’s own MacRoman encoding. I was able to port a Unix library, libiconv, to the Mac which performs a “best guess” conversion between UTF-8 and MacRoman – so far from my testing it’s been flawless (on English text). If you’d like to give MacPlayer a go, you’ll need the following: A Spotify Premium account (only Premium accounts can use Spotify Connect) A Spotify Connect speaker/device (any modern Mac or PC with Spotify installed can also act as a target device) A 68k Mac with an Ethernet Card An OpenWRT wifi router, such as the GL-AR300M. Follow the setup instructions on the MacWifi Readme. The latest version of the MacWifi Extension. Then download the MacPlayer app. Just note that the first version is pretty limited, and probably buggy Looking ahead, I’d like to get the app more functional – and colour monitor support is definitely on the wish list – but for now I’m going to take a break and enjoy the fruits of my labour.
  6. ants

    Adding Wi-Fi to my Mac SE/30

    @razo what you said is correct. I wouldn't mess around trying to source an old router since you already have a Vonets card - just make sure you select 10mb/half duplex in the Vonets setup (although it could be full duplex on your Asante card)
  7. Even with a hypothetical new version of iCab, in order to make web browsing on a vintage Mac possible you're going to need: An external HTTP to HTTPS proxy - since most of the web is now TLS encrypted with complex ciphers (even a 68040 doesn't stand a chance decrypting a ECDHE cipher before the remote server would time out) An external web rendering proxy - since the task of parsing & rendering modern CSS is so CPU intensive Both of these exist, somebody just needs to piece it all together. And thanks to the advent of the mobile web and responsive web design, if these problems were solved then a mobile-optimized website might display quite well on a vintage mac. The HTML viewport width of an iPhone X is just 375 "pixels" (albeit at a much higher resolution/sharpness, since the actual number of pixels on an iPhone X is 3 times this resolution). The width of an SE/30 screen is 512 pixels (actual pixels in this case). So, ironically in 2018 there's a better chance of web pages working on a vintage mac than 10 years ago!
  8. ants

    Adding Wi-Fi to my Mac SE/30

    Sorry I forgot to attach it to my original post. Below is a link to download the template for the Wifi Antenna Bracket (I couldn't upload it to this thread for some reason): https://1drv.ms/b/s!Ak8iQs7xV3NBkbEo7qfAaEldnq4agQ
  9. ants

    Modern PSU for the SE/30

    Thanks for sharing this, it's good to know I'm not the only one with this issue!
  10. ants

    Modern PSU for the SE/30

    Yeah I've had it sitting in a box for months now, along with all the parts to make the cable assembly! I've just had zero time to put it all together I'll try and find the time in the next few weeks.
  11. ants

    Adding Wi-Fi to my Mac SE/30

    @razo sorry I should have been more specific. I've listed the issues I'm aware of with the Vonets in the MacWifi readme here: https://github.com/antscode/MacWifi/blob/master/README.md But in regard to keeping a connection with a router, I've had no problems.
  12. ants

    Adding Wi-Fi to my Mac SE/30

    FYI for everyone following this thread, you can also use an OpenWRT based router such as the GL-iNet AR300M. It's a little bit more work to set up, but these routers are faster, more robust and more flexible than the Vonets. More info on setting up an OpenWRT router can be found here: https://github.com/antscode/MacWifi Also, the MacWifi system extension is also available for download here: https://github.com/antscode/MacWifi/releases. This extension adds a Wifi menu to System 7 so that you can connect to networks directly from your Mac:
  13. @Crutch the default gateway IP on the GL-iNet devices is 192.168.8.1, so start by trying that? But if you've bridged your networks, perhaps the device is getting an IP address from your main router. The GL-iNet also provides a hostname that you can use instead of IP address, on the AR-300M the default hostname is gl-ar300m, so I assume it would be gl-ar750 for your device. Try that if the IP address does not work. I believe the hostname can be viewed in Luci, although I don't have the device with me right now to check. Let me know if you get it working, and I'll update the Readme in the MacWifi project with this info thanks.
  14. @Crutch awesome! Have you tried out the Wifi extension on your SE/30 yet? I'd love to know if anybody is having success with it.
  15. I had the same problem with my AR-300M - ethtool wouldn't identify eth1 (the LAN port) - but I later discovered that it worked fine for eth0 (the WAN port). So then all I did was swap the LAN & WAN ports using the Luci interface, under Network settings.
×