News by Alone Coder Changes in the NedoLang package: - The compiler now supportsdirectories. Instead of 200 files per in one directory, now each project is in its own folder, and also there is a shared folder../_sdk/ . The call parameters use namely direct slashes like/ . - A number of bugfixes in the compiler, libraries, nedotrd and utilities nedores (thanksHippiman ). - In compilation errorsthe source name is shown (in errors assembler problems due to lack of memory). - New features inio.h: fread(PBYTE buf, UINT size, UINT n, PBYTE file); loadfile(PCHAR filename, PBYTE addr); findlastslash(PCHAR s) (skips file path); readsectors/writesectors(PBYTE buf, UINT trsec, BYTE count). There was also a functioncomparedesc(PCHAR filename, PBYTE desc) (for compares the TR-DOS descriptor with the given file name), but it commented out due to lack of memory. - A native batch file executor has appeared, launching binaries with given parameters. I rewrote the batch files like this such that they can work on both Windows and Speccy. Batch is located from the OxfaOO address and passes a string with parameters to pointer in CH_ADD=23645. No longer needed for testing tricky BASIC loaders. - Integrated sound libraryayfxplay.h from Ball Quest and Evo SDK. - Added128K runtime:runtime.h. Provides Oxfe ports, 0x7ffd, several interrupt setters and a handler interrupts (with a separate stack, restoring the top of the stack from register DE and calling two custom callbacks - one called before the music, another after). - New libraryprint.h. Consists of procedures setxy, prchar, nprintf (analogous to printf, supports only %s, %c, %d, formats %x, %%). Prints on the screen, but is only available for utilities upper third, because up to 8 files can be opened at the same time. - New native utilities: diff (comparestwo files and shows differences on screen), nedodel (deletes file), movedisk (compacts the TR-DOS disk) and the still non-native nepadad (cuts or pads the file to the specified size). - So now NedoLang testing is automatic! Each part (compiler, tokenizer, assembler) fits on one TRD and does not require a ramdisk to operate. After that, for compatibility, I made two versions of str:str.i and str.c (for ARM compatibility), and two versions of io:iofast.i and io.i + io.c (so that you can use ramdisk on ARM Thumb in TRD format). ARM Thumb target added to the compiler, tokenizer and assembler. The compiler for ARM Thumb is already working! First I tested it using assembler from Keil and debugger from Phyton (assembler in Phyton is incompatible) - tokenizer for Z80 compiled for ARM Thumb produces the correct result on ramdisk. Then I brought the tokenizer and assembler to processing the same assembler source, producing the same The output is that the assembler is from Keil. The problem was with the offset addressing on Thumb: odd function pointers are needed, but even pointers to data! Then I still had to refuse from compatibility with Keil's assembler for simplicity. Some Thumb commands do notare used in the compiler, so I I haven't checked them. Anyone want to check? Download the release candidate here:http://alonecoder.nedopc.com/zx/ Now all that's missing is the native IDE. By the way, no one did you come across C Warp sources? * * * Hippiman changed apartments, after which he began writing a game engine on NedoLang. It's time to publish his article about linking modules in NedoLang's main competitor - Evo SDK :) In NedoLang for this there is a commandEXPORT. Louisa draws a 3D model of our future apartment (the other day we opened it measured). John Silver bought studio monitor speakers. They reproduce every sneeze in music :) I was surprised how dirty they were original Beatles recordings and much more... Savelij13 with the helpDimkaM made a new version of TR-DOS for ZX Evo, which supports tricky loaders. TDD/MSD from Ufa appeared again after many years and soldered unofficial power plan fix for ZX Evo. At the same time time his classmateSAVC wrote a couple of utilities forSpeccy with sources: showing the pressed keys view_keys and editor font-convert-ed fonts (see the attachment - we haven’t had them for a long time there were applications :)). But then he disappeared. As far as one can judge, the first ATM 8.00 board is already stuffedZorel and will be sent to Maksagor. This is the first incarnation of the ATMZ standard in bulk. Let's follow the events :) I forgot to report in the last issue that Hungarian hackers ported Wolfenstein 2004 to the Enterprise 128 computer. Very accurate conversion. Even the music was converted. They did it on some kind of component for Enterprise, but they didn’t contact me at all >:( Several demo parties have passed, so it's probably time to publish thinkers of different sceners regarding demopatibuilding from the old ones logs - see the next article.
Share your thoughts about the article