Важная информация

User Tag List

Страница 2 из 12 ПерваяПервая 123456 ... ПоследняяПоследняя
Показано с 11 по 20 из 117

Тема: ZEsarUX Emulator

  1. #11
    Guru Аватар для Shiny
    Регистрация
    19.01.2017
    Адрес
    г. Арзамас
    Сообщений
    2,121
    Записей в дневнике
    36
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    21
    Поблагодарили
    10 сообщений
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Sorry, I cannot explain(

    trick was in changix X and Y coordinates, so snowflakes fly on screen(both bit 9)

  2. #12
    Member
    Регистрация
    06.03.2018
    Адрес
    Madrid, Spain
    Сообщений
    67
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    34
    Поблагодарили
    13 сообщений
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Well I'm considering a 9-bit number for X coordinate, so values are from 0...511
    Because the pixel resolution is not as long as 511, I consider that X position 511 is at the right-end and not visible zone on the screen, so if you consider a video mode with 320 pixels width, you will only see sprites with pixel position between 0..319, and 320 to 511 are not visible.
    But If you think the 9-bit number can have sign, you have values from -256 to 255, a value of 511 for me it's -1 for you, and if you consider -1 position as at the left part on the screen (or at the right-end of the screen), it's the same position as I'm considering, so it doesn't matter if you consider always positive or a number with sign
    Looking at the demo, there are two snowflakes fixed at the top or at the bottom, the X coordinate is fixed, so I think the bug comes from another side... I will talk with g0blinish (the author of the demo) and ask about it

    Thanks

    - - - Добавлено - - -

    Just fixed the snowflakes bug
    I had a bug which made it impossible to write on fmaps position 200h or 400h...that's why the Y position was always 0 or 256...
    Последний раз редактировалось chernandezba; 14.03.2018 в 17:23.

  3. #13
    Guru Аватар для Shiny
    Регистрация
    19.01.2017
    Адрес
    г. Арзамас
    Сообщений
    2,121
    Записей в дневнике
    36
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    21
    Поблагодарили
    10 сообщений
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    lol.
    there are a lot of demos to test emulation: Raster, Fast, etc.

  4. #14
    Member
    Регистрация
    06.03.2018
    Адрес
    Madrid, Spain
    Сообщений
    67
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    34
    Поблагодарили
    13 сообщений
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Yes, curiously, I haven't noticed any Y-coordinate bug on other demos/games, but I will have to test all of them

    - - - Добавлено - - -

    For those who are curious, the bug is: (in diff format)

    diff --git a/src/tsconf.c b/src/tsconf.c
    index 1f762dc..48db19e 100644
    --- a/src/tsconf.c
    +++ b/src/tsconf.c
    @@ -69,12 +69,12 @@ void tsconf_write_fmaps(int tsconf_fmaps_offset,z80_byte valor) {
    tsconf_fmaps[tsconf_fmaps_offset]=valor;
    }

    - if (tsconf_fmaps_offset>0x200 && tsconf_fmaps_offset<0x400) {
    + if (tsconf_fmaps_offset>=0x200 && tsconf_fmaps_offset<0x400) {
    //printf ("Zona tsconf sprites\n");
    tsconf_fmaps[tsconf_fmaps_offset]=valor;
    }

    - if (tsconf_fmaps_offset>0x400 && tsconf_fmaps_offset<0x500) {
    + if (tsconf_fmaps_offset>=0x400 && tsconf_fmaps_offset<0x500) {
    //printf ("Zona tsconf registers\n");
    //Solo escribe en regustro tsconf. no en ram fmaps
    tsconf_write_af_port(tsconf_fmaps_offset-0x400,valor);

  5. #15
    Guru Аватар для Shiny
    Регистрация
    19.01.2017
    Адрес
    г. Арзамас
    Сообщений
    2,121
    Записей в дневнике
    36
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    21
    Поблагодарили
    10 сообщений
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Rasters - there are no raster effect on background
    Fast - twister effect with lack of tile layer (with flipY flag)
    TSLbrains - no picture on screen

    - - - Добавлено - - -

    and last one: Merhaba without scroller (letters is sprites too)

  6. #16
    Activist Аватар для Kalantaj
    Регистрация
    15.04.2008
    Адрес
    г. Кривой Рог, Украина
    Сообщений
    442
    Спасибо Благодарностей отдано 
    26
    Спасибо Благодарностей получено 
    40
    Поблагодарили
    20 сообщений
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    chernandezba, can you make deb-package for 32 and 64bit Linux (Mint, 18.3)?
    I'm beginner in linux world and can't make deb, but want try your emultor.

  7. #16
    С любовью к вам, Yandex.Direct
    Размещение рекламы на форуме способствует его дальнейшему развитию

  8. #17
    Member
    Регистрация
    06.03.2018
    Адрес
    Madrid, Spain
    Сообщений
    67
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    34
    Поблагодарили
    13 сообщений
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Шынни Посмотреть сообщение
    Rasters - there are no raster effect on background
    Fast - twister effect with lack of tile layer (with flipY flag)
    TSLbrains - no picture on screen

    - - - Добавлено - - -

    and last one: Merhaba without scroller (letters is sprites too)
    Thanks. That twister effect is almost killing me :P My first tsconf render routine does show the entire twister, but that routine was clearly wrong (lots of features not emulated). Some day will run perfect (I hope!)

    - - - Добавлено - - -

    Цитата Сообщение от Kalantaj Посмотреть сообщение
    chernandezba, can you make deb-package for 32 and 64bit Linux (Mint, 18.3)?
    I'm beginner in linux world and can't make deb, but want try your emultor.
    Will I only make executable Linux versions for stable versions, not beta, and they are compatible with Linux debian 9 (the one I have) , but I don't know if they run on Mint
    It's very easy to compile it... take a look at the INSTALL file

    - - - Добавлено - - -

    Цитата Сообщение от Kalantaj Посмотреть сообщение
    chernandezba, can you make deb-package for 32 and 64bit Linux (Mint, 18.3)?
    I'm beginner in linux world and can't make deb, but want try your emultor.
    Just go to https://github.com/chernandezba/zesa.../v6.1-13032018
    I have added a debian 9 binary version
    Just uncompress it, enter to directory ZEsarUX-6.1 and run ./zesarux

  9. #18
    Guru Аватар для Shiny
    Регистрация
    19.01.2017
    Адрес
    г. Арзамас
    Сообщений
    2,121
    Записей в дневнике
    36
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    21
    Поблагодарили
    10 сообщений
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    well, maybe it helps debugging(
    Вложения Вложения

  10. #19
    Activist Аватар для Kalantaj
    Регистрация
    15.04.2008
    Адрес
    г. Кривой Рог, Украина
    Сообщений
    442
    Спасибо Благодарностей отдано 
    26
    Спасибо Благодарностей получено 
    40
    Поблагодарили
    20 сообщений
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от chernandezba Посмотреть сообщение
    Just go to https://github.com/chernandezba/zesa.../v6.1-13032018
    I have added a debian 9 binary version
    Just uncompress it, enter to directory ZEsarUX-6.1 and run ./zesarux
    Thanks, but i'm installing on my Mint, using INSTALL file instrution.
    And now time to tests

  11. #20
    Member
    Регистрация
    06.03.2018
    Адрес
    Madrid, Spain
    Сообщений
    67
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    34
    Поблагодарили
    13 сообщений
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Kalantaj Посмотреть сообщение
    Thanks, but i'm installing on my Mint, using INSTALL file instrution.
    And now time to tests
    Oh great. If you have problems compiling it, please tell me or try the debian 9 version

    - - - Добавлено - - -

    Цитата Сообщение от Шынни Посмотреть сообщение
    well, maybe it helps debugging(
    Thanks, I will test it

Страница 2 из 12 ПерваяПервая 123456 ... ПоследняяПоследняя

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Похожие темы

  1. Speccy emulator
    от Rindex в разделе Эмуляторы
    Ответов: 53
    Последнее: 13.07.2022, 22:50
  2. CHIP8 Emulator
    от NEO SPECTRUMAN в разделе Софт
    Ответов: 37
    Последнее: 05.11.2020, 22:24
  3. Agat Emulator v1.26.1
    от Rindex в разделе Apple
    Ответов: 0
    Последнее: 15.02.2014, 22:02

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •