Author: Admin

Sord M5 programs library II.

Další várka programů, tentokráte  to bude krmivo pro disketovky nebo alespoň emulátory disketovek. Dlouho jsem přemýšlel jaký formát zvolit, aby byl univerzální. Nakonec rozhodl program na vytváření Amstradovských disket nazvaný CPCDiskXP (seženete ho tady ), který umožňuje velice pohodlně programy do image přidávat nebo z image ukládat na PC. Navíc formát který jsem zvolil přečte nejenom Mess, ale i CP/M bez úprav. Pokud tedy použijete CPCDiskXP a budete chtít být také kompatibilní, vyberte formát PCW/+3DOS – Double Side – 80 Tracks  – 64Dir. Entries 720Kb. Každopádně CP/M i Mess zvládne i jiné formáty,  je to tedy jen na Vás který použijete.


Improved SordM5 for Mess

After a long pause here on the blog, I decided to share my own Sord build for Mess. Compared to the original official version, my brother and I added a few interesting features to the emulator. To prevent the new functions from being confused with the original, we have created a new mode named m5p_lzr. Below are some of the new features

  • 64kBi and 64kRx memory support
  • F-block type support in tape recording
  • "Windows" starts by default, a menu that allows you to quickly launch the most used programs. According to the modification of Mr. Stuchlík and LZRsoft
  • ROM containing BI, BG, BF, MSX1.C and CPM
  • support for two 3.5 ″ floppy drives. Support for the original FD5 has been removed.(wasn't working)
  • added QuickLoad support, for loading programs directly into memory. I will add the m5q format specification later.

26/09/2014 version 1.1

  • added support for creating and writing dsk image disks (CPC EXTENDED) - probably it will still be quite buggy

Tools for working with the CAS files

I have created a few programs for working with CAS files for Sord (castool is part of MESS). CAS is a short for CASsette format used in the Mess emulator. It is actually a binary file, as it was actually recorded on a tape in the form of an audio signal.

Title
Sord utils 28/01/2024
Sord utils 28/01/2024
Sord utils 28/01/2024
Sord utils 28/01/2024
Sord utils 28/01/2024
Sord utils 28/01/2024


    Automatické spouštění scriptů po bootu

    Pořád mě vrtalo hlavou, jak u mého tabletu zavést mnou dodané moduly po startu zcela automaticky bez přeflashování kernelu. Jelikož není android jako android nelze napsat jeden obecný návod.
    Co ale lze předpokládat u všech je to že při nabíhání androida spustí příkaz init skripty init.rc init.goldfish.rc a podobné umístěné v rootu. U některých androidů stačí umístit svůj skript do adresáře /system/etc/init.d a je hotovo, ale na mém kernelu tato vlastnost chyběla. Existují postupy jak ji zprovoznit na každém kernelu viz. zde, ale já se vydal trochu jinou cestou.

    Otevřete postupně všechny init.rc soubory a najděte všechny příkazy které spouštějí shellovský skript. Typicky to bude vypadat nějak takto:

    /system/bin/sh /system/etc/install-recovery.sh

    U mě init.rc spouští za 1. /system/etc/install-recovery.sh a za 2. /system/bin/preinstall.sh. Přičemž 1. soubor na mém tabletu neexistuje 2. ano. Pokud 1. soubor vytvoříte bude se po každém startu spouštět také. Takže je na Vás který použijete. Důležité je, že se tyto skripty nepřepisují s každým restartem a Vámi udělané změny tak zůstanou zachovány.

    Je nutné si, ale uvědomit že ve chvíli kdy se skript provádí není ještě namountovaná sd karta(y) a tak ji nelze použít jako úložiště pro případné použití.

    V mém případě stačilo přidat nakonec souboru preinstall.sh řádek /system/bin/sh /system/vendor/modules/myscript.sh, kde jsou všechny nutné úkony pro zavedení modulů.

     

     


    Unconventional programming for Z80

    autocompleteRecently I needed to create a simple utility for Sorda in assembler, and since Sorda's keyboard is not the best for text input, I thought of a more convenient way to do it.

    On the page clrhome.org/asm/ it is possible to write a program in Z80 assembler, then compile it online and save it to disk. This is exactly what I need. Then I use a small utility bin2cas to create a CAS file that I can upload to MESS and test the program. Of course, more complex programs will be better developed directly on Sord in some assembler with debugger, but for simpler programs I can only recommend it.

     

    Sample of a simple program in assembler

     


    Sord M5 programs library

    My collection of programs for Sord, I'll digitize some more in time. They are in CAS format, which is the native format for MESS now MAME.Unlike the WAV format it is in a few kilobytes size. But I have to say that programs requiring 64kB RAM module will not work in old MESS, because in MESS you can't disconnect MONITOR ROM and cartridge programmatically and the program can't handle that. Therefore use the improved version here or newer MAME here

    Please note that I am not the author of these programs. If the actual authors would mind me offering them here, please email me and I will remove them from the site.

    All programs have been moved here


    Extrahujeme Module.symvers a config

    Pokud potřebujete kompilovat moduly do kernelu ke kterému nemáte zdrojový kód, budete potřebovat z tohoto kernelu získat určité informace. A právě o tom bude tento návod.


    Návod jak na Android cross-compiling

    Pokusím se zde vyjevit základní postup jak kompilovat (nejen) moduly pro Android. Pochopitelně tento postup není jediný možný a existuje mnoho variant téhož. Níže popsaný postup jsem použil já a dosáhl jsem uspěšného zavedení modulů na cílové platformě.


    Můj první počítač

    We all started with computers somehow, someone forced someone with enthusiasm. I can say that I fell for them as a boy and since I was born at '80, I started with 8 bits as there was nothing else. My brother and I longed for the ZX Spectrum, but Santa gave us unknown to us at the time Sord M5 původem z Japonska. Přestože se Sord prodával tehdy jen v Tuzexu nebo v bazarech, ukázalo se že nebyl v tehdejším Československu až tak neznámý počítač. Dokonce existoval i klub Sordistů veden pod Svazarmem 602 , který čítal desítky členů. Někteří z nich dokázali vylepšovat Sordíka např. o zvýšení RAMKY na 64kB (v základu měl Sord 4kB), RAMdisk, vytvořili tehdy u 8bitů vzácný řadič 3,5″ floppy mechaniky a převedli spousty  her z příbuzného systému MSX nebo naprogramovali emulátor her ze ZX Spectra. Mimo těchto aktivit vznikal nízkonákladový tištěný klubový skoro mesíčník, zdroj velmi cenných informací. Protože jsem objevil podobný blog I will only publish the missing numbers here. As I do not have permission to publish these documents and therefore, if it would bother the authors, I will remove them immediately. But I think it would be an eternal pity let their efforts fade into the abyss of history. At least for me, the Sord M5 was and remained a matter of the heart, and I doubt I'll ever sell it to anyone.


    How to turn your tablet into a TV

    Before I bought a tablet here, I wondered if I could get TV reception on it. So I contacted Mr Google, who confirmed that it would be possible. Naturally you need a tablet with a USB connector, root access, a USB DVB-T stick and most importantly the right drivers. In the following text I will try to describe the procedure how to make the TV work on the tablet. I will try to describe everything in general terms, but you must understand that I only have experience with my tablet and my tuner. Also, I don't want to describe here the tortuous journey to get the right Toolchain to compile the Android PC sources. (look here).Also, getting the sources for my version of the kernel cost me many a grey hair. Enough with the chatter, let's get down to business.