Author Topic: z80 and ez80 ASM Support Added to SourceCoder 3  (Read 9596 times)

0 Members and 1 Guest are viewing this topic.

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
z80 and ez80 ASM Support Added to SourceCoder 3
« on: April 20, 2015, 02:31:16 pm »
Adding assembly support to SourceCoder 3 has long been on my to-do list, and a happy confluence of factors has allowed me to begin to make this a reality. First, and arguably most importantly, I just finished a very important deadline at work, so I have a little more free time to actually work on personal projects. Secondly, inimitable Cemetech administrator Tari built the SPASM assembler using Emscripten (and put together the necessary wrappers and online demo), allowing SPASM to be run in a browser. Finally, calc84maniac and alberthro took the time to add ez80 support to SPASM, creating a new tool called SPASM-ng. With these three components, I've put together support for ASM programming in SourceCoder, and I'm already thrilled at how fast it lets me iterate my build/test cycle.

SourceCoder 3 now lets you write, assemble, and test z80 and ez80 assembly programs directly in your browser. First, SourceCoder's ability to handle multiple files, syntax highlighting, and saved projects means you can put together assembly projects with several source files, edit them comfortably in your browser, and save them to access on any computer, even your phone. Second, SPASM-ng compiled with emscripten means that you can assemble your programs in your browser, on Windows, Mac OS, Linux, Android, iOS, or anything else that supports modern Javascript. Finally, you can export .8xp files directly from SourceCoder, or if you want to test your programs, simply send them directly to the jsTIfied calculator emulator built into SourceCoder. Because you can write z80 or ez80 assembly programs, this tool will not only be useful for existing assembly projects, but for many new projects that explore the powerful new TI-84 Plus CE.

If you're an assembly programmer, I'd love to hear your feedback from trying out SourceCoder 3's new z80 and ez80 assembly support.

SourceCoder 3 TI-BASIC and Assembly Editor and IDE



Cross-posted from z80 and ez80 ASM Support Added to SourceCoder 3 on Cemetech



Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: z80 and ez80 ASM Support Added to SourceCoder 3
« Reply #1 on: April 20, 2015, 03:02:43 pm »
Woo! Can't wait to play around with this!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: z80 and ez80 ASM Support Added to SourceCoder 3
« Reply #2 on: April 20, 2015, 05:04:07 pm »
That is awesome!

Are you planning to include compiling to an app and signing it?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: z80 and ez80 ASM Support Added to SourceCoder 3
« Reply #3 on: April 20, 2015, 09:16:25 pm »
That is awesome!

Are you planning to include compiling to an app and signing it?
SourceCoder can already store the fact that you want an ASM file to be an App, and will attempt to build Apps. However, emscripten'd SPASM-ng does not include App signing code, because it would pull in a giant libgmp dependency. Hopefully, someone will replicate Spencer's small bignum library, which will allow SourceCoder to pull in a much smaller library to make App signing features work.



Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: z80 and ez80 ASM Support Added to SourceCoder 3
« Reply #4 on: May 08, 2015, 12:15:38 am »
If it helps, I ported Rabin crypto to PHP in 2011 (to add app signing to ORG, in fact).




Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: z80 and ez80 ASM Support Added to SourceCoder 3
« Reply #5 on: May 27, 2015, 05:35:24 pm »
If it helps, I ported Rabin crypto to PHP in 2011 (to add app signing to ORG, in fact).
If you'd be willing to share that code, I'd be grateful.