Welcome, Guest. Please login or register.


Author Topic: Xep128 (Read 193632 times)

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Xep128
« on: 2015.May.17. 09:39:38 »
Na, ez itt kerem, az LGB-nek elgurult a gyogyszere, es megint emulatort akar irni cimu topic lesz :) Ezuttal C-ben van irva, es meg az alfa verzio szintjet sem eri el a cucc, viszont legalabb reszlegesen (read only) emulalgat SD cartridge-ot, es boxsoft mouse illesztot is. Linux ala van, de mivel SDL es gondoltam kiprobalom, raereszetettem egy cross-compiler-t ami Linux alatt windows-ra fordit. Nagy meglepetesemre nemi karomkodas utan (valami symbol utkozes volt, igy belel kellett turnom az SDL2 header file-okba ...) eloallt egy exe ... Ami elvileg ugye windows alatt elindul, bar ki tudja :-) Mivel nincs windows-om, nem igazan tudtam ellenorizni, Linux alatt wine-al megy, de az egy dolog ... Ha valakit erdekel, akkor: http://xep128.lgb.hu/

Az oldalon csak egyetlen link van :) most meg, ami a github-ra visz. Nem kell megremulni, scroll-ozni kell lefele, az Installation on windows reszhez, voltakeppen egy zip kell (le van irva ott), vhova kibontani, meg melle a szinten emlitett SD image, aztan onnan elinditani. Linux alatt elvileg jo, legalabb SymbOS elindul, es egereszni is lehet benne, de kb ennyit probaltam :) Eger ugy mux, h klikk az emu ablakba, aztan ha kell vissza a normal mouse, akkor ESC. Sok minden amugy nincs emulalva, Dave audio, izebize semmi, csak VINT, meg 1Hz interrupt, oszt kesz kb ...

Na, lehet szidni, hogy ezt most minek, miert kell ez, miert ilyen sz**, miert nem ep128emu, stb :) Ez utobbi kerdesre: azzal nem is kivanok versenyezni nyilvan, inkabb olyan "ujszerubb" es "ritkabb" kiegeszitok erdekelnek, ami nincs ott emulalva, pl az SD kartya illeszto, vagy az egereszes ...

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14773
  • Country: hu
    • http://enterprise.iko.hu/
Re: Xep128
« Reply #1 on: 2015.May.17. 09:45:20 »
SD card image csak az lehet?

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14773
  • Country: hu
    • http://enterprise.iko.hu/
Re: Xep128
« Reply #2 on: 2015.May.17. 09:48:00 »
Működik! :-)

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Xep128
« Reply #3 on: 2015.May.17. 09:57:53 »
sdcard.img szerintem lecserelheto, ha jol remlik ez is vmi forumon itt kitetett vhd file volt voltakepp :) Sajna configolni meg nem lehet az emut, semmit (disk image, memoriameret, akarmi). Jelenleg kb ennyit tud, mast nem. Fixen sdcard.img -t keres, de persze magat a file-t meg lehet probalni masra lecserelni. A combined.rom pedig egyben tartalmazza a ROM-okat szepen cimfolyamatosan az EXOS 0-assal kezdve, igy emu elso verzioban egyszerubb volt mindent bezuzni egyben :) Benne van az SD kartya stuff is persze.

Az jo hir, ha megy win alatt, bar most epp kiproszaltam felesegem notebook-jan azon van egy kisse kallodo xp is. Mondjuk bezarasnal vmi hibat irt ki, de egyaltalan az is csoda, hogy mux :)

Amugy talalkozora akartam volna futtathato allapotba hozni, es ment is volna, csak kicsit hmm cikinek ereztem, hogy ennyi emu kepeseggel - amit a xep128 tud jelenleg - inkabb nem kene villogni ott, mert a vegen kirohognek. Azert irtam csak most meg, a talalkozo utan :) Povival mar beszeltunk rola privatban.
« Last Edit: 2015.May.17. 11:54:21 by lgb »

Offline gflorez

  • EP addict
  • *
  • Posts: 3614
  • Country: es
    • Támogató Támogató
Re: Xep128
« Reply #4 on: 2015.May.17. 11:00:34 »
It works for me too.

Marvellous...


Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Xep128
« Reply #5 on: 2015.May.17. 13:05:37 »
It works for me too.

Marvellous...

It's really not to hard to do. It's z80ex, a quite nice Z80 emulator, portable, written in C (not my work, I mean). Then you need just limited amount of extra C code, to have a working EP emulation, without too much features though or cycle exact emulation. Currently it does not emulate sound, neither the TG/etc interrupt. My JSep emulator is still better in the sense of emulation, though Xep128 knows SD card now (which is not supported by JSep, but JSep emulates read access for EXDOS/WD, which is not the case for Xep128 .... ehh, I am chaotic).
« Last Edit: 2015.May.17. 15:22:51 by lgb »

Offline gflorez

  • EP addict
  • *
  • Posts: 3614
  • Country: es
    • Támogató Támogató
Re: Xep128
« Reply #6 on: 2015.May.17. 13:14:17 »
If it's so portable.....can you try an Android port? Please....

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Xep128
« Reply #7 on: 2015.May.17. 16:21:13 »
If it's so portable.....can you try an Android port? Please....

I meant the portable nature of the z80ex, the Z80 CPU emulator part. My C code uses SDL2 etc, I guess it's also portable, as I could compile it for Windows (on Linux, with a cross-compiler) with only one modification (_read symbol caused to collide on Windows with something else ... so I renamed my variable). However I don't know _anything_ about Android development currently. I may try some time. Anyway, with strong enough CPU and good browser, JSep should work on Android devices too as a web based emulator.

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Xep128
« Reply #8 on: 2015.May.17. 21:45:42 »
I have always thought that an writing an emulator needs a lot of code. Remeber having a look into the source of the winvice c64 emulator and found it really complicated with lots and lots of files.

I think that it would be great if there was an emulator with built-in assembler and better debugger than the one found in ep128emu (or it's just hard to use)... This is one of the "fields" on which a new emulator could really stand out (for programmers).

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Xep128
« Reply #9 on: 2015.May.17. 22:17:47 »
I have always thought that an writing an emulator needs a lot of code. Remeber having a look into the source of the winvice c64 emulator and found it really complicated with lots and lots of files.

I think that it would be great if there was an emulator with built-in assembler and better debugger than the one found in ep128emu (or it's just hard to use)... This is one of the "fields" on which a new emulator could really stand out (for programmers).

Well,  it's matter of emulator :) The complexity of VICE is because the large amount of emulated stuff (even very exotic hardware components, I guess at the magnitude of 100 or so-, and generic layers (eg, multiple supported OS - WinVICE is just name for the Windows port, but VICE is for even Linux/UNIX, android, etc -, easy adoption for multiple Commodore machines, even drives - where the drive is a computer itself with own CPU, RAM/ROM and I/O chips -, and even on the same OS port, multiple video/audio drives etc). Also, VICE is a quite accurate emulation, being cycle exact for the CPU and other chips as well. And so on. An emulator like Xep128 does not even emulate sound, missing Dave functions, some missing Nick stuffs, not exact retrace stuff for Nick, not cycle-exact, missing WD/EXDOS, no configuration (just check the VICE's possible settings out ...), and so on. It's not so hard to reach a point in an emulator where the computer is able to run the ROM stuffs, and some selected software runs at least.

Hmm, debugger/assembler: exactly this is the area where ep128emu is good, at least with debugger :) I wouldn't be able to compete here, also ep128emu is quite accurate. Honestly it would be better to integrate eg mouse emulation and SD card stuff into ep128emu, but I am quite unfamiliar with C++ also it's fun to write something at your own. These are to only reasons.
« Last Edit: 2015.June.03. 15:42:02 by lgb »

Offline ssr86

  • EP user
  • *
  • Posts: 355
  • Country: pl
Re: Xep128
« Reply #10 on: 2015.May.17. 22:33:48 »
Hmm, debugger/assembler: exactly this is the area where ep128emu is good, at least with debugger :) I wouldn't be able to compete here, also ep128emu is quite accurate.
Well I've got spoiled by winape's assembler/debugger;P. I really miss the ability to easily add breakpoints through the source file, for example.
...I admit that I don't really know much about the scale of functionality of ep128emu debugger with lua scripts...

Offline SlashNet

  • EP addict
  • *
  • Posts: 1324
  • Country: ua
  • Enterprise 128K | Cubietruck
    • My old site about Enterprise
Re: Xep128
« Reply #11 on: 2015.May.17. 22:40:28 »
Interesting name for the emulator. :)
Some offtopic:
Хер (typed in Cyrillic) - common in Russian language obscene euphemism for the word "dick".
It similar situation for Pidora for RasberryPI (look at the link at the bottom of the page)

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Xep128
« Reply #12 on: 2015.May.17. 22:49:11 »
Interesting name for the emulator. :)
Some offtopic:
Хер (typed in Cyrillic) - common in Russian language obscene euphemism for the word "dick".
It similar situation for Pidora for RasberryPI (look at the link at the bottom of the page)


:) I guess almost every name can mean something odd in at least one other language :) Like when I "invented" my own nick (LGB, it's from my "real" name btw) I got to know later that, it's A.) name of a model railway stuff, B.) commonly used abbreviation of "Lesbian-Gay-Bisexual".  Even just inside the computer business there were problems, like Commodore VIC 20 was sold with some other name in German because the word "VIC" as pronounced means something not so nice in German (well, I don't know at all since I don't know German, just read that story somewhere). Some "funny" stuff: the Hungarian "persze" (meaning: of course, sure) should not be said in Finland, since they will mean at as "ass". According the urban legend there were story that Hungarian tourists in Finnish restaurant was told that they should not mention "ass" all the time, as other (Finnish) guests there complained. Oh well, and we had to learn Russian in elementary school, but I don't remember too much ...

Offline szipucsu

  • Global Moderator
  • EP addict
  • *
  • Posts: 10080
  • Country: hu
    • Támogató Támogató
    • Webnyelv.hu - Tanuljunk nyelveket!
Re: Xep128
« Reply #13 on: 2015.May.18. 19:46:15 »
:) I guess almost every name can mean something odd in at least one other language :)
To complete your list: "bunda" in Hungarian means fur (of an animal) or fur-coat but in Portuguese... this means ass. This word appears somehow everywhere... really interesting!
Once my Brasilian acquaintance came to Hungary and was surprised so much at seeing in so many places the word "bunda". :ds_icon_cheesygrin:
« Last Edit: 2015.May.18. 19:49:50 by szipucsu »
100 SOUND SOURCE 2,STYLE 128,PITCH 25.2,SYNC 1
110 SOUND PITCH 25,SYNC 1
120 ! Videos

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Xep128
« Reply #14 on: 2015.June.03. 14:44:53 »
Van reszletes info valahol a Spectrum emulatorrol? Nemi disasm, probalgatas, illetve itt a forumon Zozo egy hozzaszolasa alapjan (0x40 ... 0x44 portok stb) megcsinaltam az Xep128-ba, igy el is indul, de az attrib infok teljesen rosszak valamiert. Amit felteteleztem (lehet itt a hiba?): 0x3f9800 - 0x3f9aff (marmint ez linearis cim a 4Mbyte-os cimtartomanyban) cimeknel kell NMI-t eloallitani memoriahozzaferes eseten es csak (?) iras muveletnel. A kerdeses "linearis" cim also 16 bitjet tettem 0x40 es 0x41-es portokra, a 0x42 az eppen irt byte-ot, 0x43-ra 0x80-at (mert memoriamuvelet, nem I/O). Igy most kisse fura, fekete hatter/keret, es kek betuk szinosszeallitas jon ki ...

Ettol eltekintve muxik, marmint ZX basic elindul, gepelni lehet, stb a ZX EXOS parancs kiadasa utan. Speciel az I/O-ra se jottem ra teljesen: a ZX40.ROM-ot nezve vmi olyat csinal, hogy olvasgatja a 0xFE portot. Erre elvileg ugye NMI van generalva szepen stb, tehat mind1, mit adnek vissza a port read emulacional, mert az NMI handler ugyis mast fog adni. Ennek ellenere, ugy tunik, hogy 0xBF-et kell visszaadni kulonben nem mukodik. Azt, hogy miert, es miert pont ennyit, nem tudom (a 0xBF onnan jon, hogy disasm-oltam kicsit, es megneztem mit csinal, miutan kiirja h kapcsold be az emulatort, es csak var ...). Igy mondjuk, mint irtam, elindul, csak fura ez nekem.

Altalaban is kerdeznem, hogy van-e pontosabb leiras/dox/akarmi a ZX emulatorrol, ez "kisse" meg bug-os igy :oops: