Author Topic: Clive Sinclair dies, 81, the creator of ZX Spectrum  (Read 1452 times)

anunitu

  • Member
  • *****
  • Posts: 1157
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #15 on: October 08, 2021, 09:49:15 AM »
being we are almost the same age i survived a stroke and a two week diabetic coma in oct of 2018.

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #16 on: October 10, 2021, 02:03:09 AM »
I have added sounds to the shoots. "m" for mute/unmute.

Edit01: sounds are now audible on WXP
Edit02: I have added a health bar for the ship
« Last Edit: October 10, 2021, 11:47:43 PM by caballero »
The logic of the error is hidden among the most unexpected lines of the program

Biterider

  • Member
  • ****
  • Posts: 779
  • ObjAsm Developer
    • ObjAsm
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #17 on: October 10, 2021, 02:20:59 AM »
Hi caballero
Nice retro game  :thumbsup:
I played a while and got an exception when closing

Code: [Select]
004011DC 0F B6 02             movzx       eax,byte ptr [edx] 
004011DF C1 E0 10             shl         eax,10h 
004011E2 09 C1                or          ecx,eax 
004011E4 8B 45 FC             mov         eax,dword ptr [ebp-4] 
004011E7 89 08                mov         dword ptr [eax],ecx  <------------ eax was pointing to an invalid page
004011E9 E9 00 00 00 00       jmp         004011EE 
004011EE C9                   leave 
004011EF C3                   ret

Biterider

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #18 on: October 10, 2021, 04:05:25 AM »
Thought I'd already corrected this, I'll take a look, thanks. I only get this error on WXP.
The logic of the error is hidden among the most unexpected lines of the program

Biterider

  • Member
  • ****
  • Posts: 779
  • ObjAsm Developer
    • ObjAsm
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #19 on: October 10, 2021, 04:30:37 PM »
If it helps, I'm on W10/64.


Biterider

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #20 on: October 10, 2021, 07:37:15 PM »
I was afraid you'd say that  :azn:

Do you hear the sounds of the shoots or it remains in silence? In my W10 it works aparentely well, I only get the error on my VirtualBox-WXP. Also, here the movements are faster =:/

It will be a slowly debugging time  :undecided:

Thanks  :thumbsup:
The logic of the error is hidden among the most unexpected lines of the program

Biterider

  • Member
  • ****
  • Posts: 779
  • ObjAsm Developer
    • ObjAsm
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #21 on: October 10, 2021, 08:09:45 PM »
Yes, the sound works fine for me.


Biterider

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #22 on: October 12, 2021, 03:41:06 AM »
Before closing the program I cleaned some DC buffers that maybe interacted with something on Windows tasks, so I removed that letting Windows do the job. Now it seems that there is no error. However I noticed in my VB-WXP that after the first match, the sound dissapears.
« Last Edit: October 13, 2021, 08:40:48 AM by caballero »
The logic of the error is hidden among the most unexpected lines of the program

Biterider

  • Member
  • ****
  • Posts: 779
  • ObjAsm Developer
    • ObjAsm
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #23 on: October 12, 2021, 03:59:27 AM »
Hi caballero
It works fine here, even after a few matches.  :thumbsup:


Biterider

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #24 on: October 12, 2021, 04:33:42 AM »
Thank you for testing  :thumbsup:
The logic of the error is hidden among the most unexpected lines of the program

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #25 on: October 12, 2021, 10:24:10 PM »
I have added a pixel clipping text scrolling to introduce the game, maybe a bit long  :angelic:

I'd like to introduce a point counter increased for each ufo killed


Edit: Added a scoring system. Each enemy gives a certain amount of points, which appear for a moment on the screen. The idea is that, when you reach a certain amount, you get some kind of benefit, such as a double shot or extra life. On the right side would be the energy bar of a special enemy, with a greater amount of energy, that would need several shots, and that would give more points.
« Last Edit: October 13, 2021, 08:40:29 AM by caballero »
The logic of the error is hidden among the most unexpected lines of the program

Siekmanski

  • Member
  • *****
  • Posts: 2445
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #26 on: October 13, 2021, 12:44:04 AM »
Nice, works perfect here.  :cool:
Creative coders use backward thinking techniques as a strategy.

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #27 on: October 13, 2021, 01:37:59 AM »
Hi, Siekmanski, thank you for testing it  :thumbsup:
The logic of the error is hidden among the most unexpected lines of the program

caballero

  • Member
  • *****
  • Posts: 1702
  • Matrix - Noah
    • abre ojos ensamblador
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #28 on: October 17, 2021, 02:20:21 AM »
Added system points and scoring. Every 400 points, a new life, at a maximum of three. At the starting of every new life, our ship is immune and its colour brightness decreases to indicate it.
The logic of the error is hidden among the most unexpected lines of the program

daydreamer

  • Member
  • *****
  • Posts: 1810
  • green elevator
Re: Clive Sinclair dies, 81, the creator of ZX Spectrum
« Reply #29 on: October 19, 2021, 05:48:09 AM »
sound stops after a short while
great :thumbsup:
SIMD fan and macro fan
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."