Compiling Pascal with a Pascal compiler compiled with a Pascal compiler on the neo6502, in real time

Поділитися
Вставка
  • Опубліковано 16 бер 2024
  • In whch yr hmbl svt demonstrates that a 6502-based system can compile its own compiler. Very slowly. (Reupload, because reasons.)
    CP/M-65: github.com/davidgiven/cpm65
    Hans Otten's site about Pascal-M and much more: pascal.hansotten.com/
  • Наука та технологія

КОМЕНТАРІ • 8

  • @mlongval
    @mlongval 3 місяці тому +5

    Wow you did it - Pascal for the neo6502. Thanks. Gonna check it out!

  • @reinoud6377
    @reinoud6377 3 місяці тому +3

    I wonder how fast it would be if it supported multiple source files with linkable object files. This way it would only need to see if dependencies were changed and compilation on the machine a lot faster!

  • @HansOtten
    @HansOtten 3 місяці тому +2

    Remark by Mark Rustad, the original author of PASCAL-M: One minor comment, it was UCSD Pascal, not USCD. Also Apple Pascal for the Apple II used a byte code. In its design, it optimized access to locations in the current context and the global context. Pascal-M (mine!), optimized access to the first 256 bytes of every context. I found that Apple's ran faster than mine on tiny benchmark programs, but mine ran faster on larger programs that did more than local and global accesses. This started as a school project and my goal was to run in 16k.

  • @edgeeffect
    @edgeeffect 3 місяці тому +2

    I remember using a p-code Pascal compiler on CP/M 80... That was called (I think) Pascal/M (in those days A LOT of names ended in "/M". But it might have been UCSD... Years later I was doing stuff with Delphi on a 486 and compilation speeds had improved quite a bit ;)

  • @whetphish
    @whetphish 3 місяці тому +1

    Nice one. The history snippets were a bit too fast for me though, and I had to keep pausing the video to read them all! 😂 Quick question - does the Neo6502 Morpheus firmware not yet have a higher resolution text mode? I can imagine a lot of CP/M programs wouldn't look right at the current resolution.

    • @hjalfi
      @hjalfi  3 місяці тому

      Thanks! Yeah, it was a bit quick --- still getting the hang of this stuff. Currently Morpheus doesn't have a high resolution text mode, as they're focusing on the low-res-with-sprites mode because they're aiming at games development in BASIC, but the underlying library ought to allow it. Integrating it into the existing API might be harder.

  • @budiardjo6610
    @budiardjo6610 5 днів тому

    wow, it is lot of knowledge.

  • @thdotaku
    @thdotaku 3 місяці тому

    all your vids are boring s no eed to add it in the thumbnail we laready know.............