kroc, to VintageOSes
@kroc@mstdn.social avatar

FINALLY. That was hell, but my Z80 assembler in Z80 now parses all Z80 opcodes (794!) and unlike other native assemblers it uses a static binary tree to match strings to opcodes so the lookup code is only 179 bytes and the table is 3'733 bytes! #z80 #v80 #cpm #retroprogramming #retrocomputing

kroc,
@kroc@mstdn.social avatar

Total size is currently 5K but it's not finished yet and the limit will be 8KB. Once complete I will rewrite it in itself meaning that you'll be able to assemble your #Z80 projects using a native Z80/CPM assembler, even on PC via RunCPM, rather than massive PC-only toolchains. Z80 software that can't be built on real HW is useless!!

https://github.com/Kroc/v80 #v80 #cpm #retroprogramming #RetroComputing

thelastpsion, to retrogaming
@thelastpsion@bitbang.social avatar

Other than C, C++ and , are there any modern languages/compilers that target modern operating systems and ?

Using a 32-bit extender for DOS is fine.

Yes, it's just another random question that has crossed my mind.

EDIT: For context, CLI only. No graphics required.

kroc,
@kroc@mstdn.social avatar

@thelastpsion I don’t know when that will be yet as I want to get #v80 finished, but that has a fixed, limited scope so I should be able to finish that off. I’ve learnt a lot in writing v80 but also that writing very concise #Z80 code ultimately bogs me down in implementation details that are not relevant to the overall #pling language design that is more important

kroc, to retrocomputing
@kroc@mstdn.social avatar

This won't necessarily be easy to understand, but my word is it a work of art! https://github.com/Kroc/v80/blob/d54b67927304971fc01cac6e1aefeaf7abf4e623/src/v80.wla#L291-L369
Symbol search; uses a linked list. Compares name lengths and then strings.
Using the remainder of BC from CPD (compare-and-decrement) to snap back from the middle of a string to the link-addr is neato #z80 #v80 #retrocomputing #asm #cpm

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