notes

/Home ....
....

svētdiena, 2022. gada 19. jūnijs

Webassembly Canvas rendering

A simple .c compiled to webassembly
 "Hello World" sample,  to see it working and debug in browser Developers tools https://chessforeva.codeberg.page/wasm/canvas_render.htm

The same in webworkers, means threaded less browser consuming, can be in background.

otrdiena, 2022. gada 14. jūnijs

C&C DOS in browser

https://ccwars.netlify.app

For a newer PC this works ok.
Do not panic while downloading 19mb webpage on startup.

Thanks to Webassembly and js-dos team for the DOS emulator based on well known DosBox.
And Westwood Studios (wiki), of course, all the thanks and bitcoins.
And Netlify as the hoster site.

So, this version contains list of user-created maps (on Load Mission),
 with glitches too, but interesting to play.

Mostly playable by mouse.
Known keys, as I remember, were:
H - home at Construction yard
Shift+ left mouse - select multiple units
Ctrl+ 1, or 2, or 3, or... - assign key to selected units
Then just press 1, or 2, or... and send units by mouse
G - set unit to guard area

There are videos on how to play -on youtube.


otrdiena, 2022. gada 1. februāris

MSX Breaker mod

Breaker is a Msx game developed in year 1987. Here is a modified version.
Infinite play in God mode. Also keys A,D now work as arrow-keys for 2nd player.

Play in browser with touch buttons.
Thanks to the WebMSX emulator.

One player

Two players

PC version (no buttons)

Sources: the .dsk file, also on Codeberg.org.
The .asm code of the mod is inside.

ceturtdiena, 2022. gada 27. janvāris

Goodies on js-dos

Touch playable in browser, runs smoothly on js-dos.

Tower Toppler (God mode)
  
  To hack lives in TOWER.EXE (123052 bytes)
substitute "dec byte[bx]" to "nop nop"
by replacing bytes:
Offset
06CF  FE 0F  -> 00 00

  To hack time limit:
Offset
155B  01 -> 00
  
   

Digger Remastered (God mode)
  
  To hack lives in DosBox Debug
modify memory address DS:1E22
This DIGGER.EXE sets DS=255A
  
   
Putup (God mode)
  
  To hack lives in PUTUP.EXE (36512 bytes)
at offset 43cf
   bytes   98 03 c2 03 c1 2d bd 02
   set to -> 00

  
   

Arkanoid (God mode)
  
  To hack lives in ARKANOID.DAT (231168 bytes)
substitute "dec byte[02a9]" to "nop nop"
by replacing 4 bytes at offset 01C3
	ff 0e a9 02 -> 00
  
   

And sources are at Chessforeva at Codeberg.org

ceturtdiena, 2022. gada 20. janvāris

trešdiena, 2022. gada 19. janvāris

Racing on js-dos

Added touch buttons to some small racing games to play in browser. These were good PC games of 80s,90s. May be too slow on older devices.



To hack lives in TD2EGA.EXE
  substitute 4 bytes at offset 8A97:
	ff 0e 24 84 -> 00 00 00 00
  



sestdiena, 2022. gada 15. janvāris

Bezmaksas hostings uz Codeberg.org

    Parādījies jauns resurss programmatūras un statisku weblapu izvietošanai uz Codeberg.org serveriem. Līdzīgs GitHub,GitLab. Var lietot .Git rīkus, kā arī augšupielādēt pārlūkā, t.i. ērta   Upload  poga pie projekta un commit tiks izveidots automātiski. Viss bezmaksas opensource.

Soļi:

  1. Reģistrējas Codeberg serverī, izvēlas vārdu smuku, piemēram "plaudis". Maksājumus neprasa.
  2. Atver jaunu Repozitāriju - Projektu un iedod vārdu "pages". Description ieraksta "WebPage".
  3. Repozitārijā turpat pie README.md augšupielādē sākumlapu index.html  - viss kā parasti hostingos. Var taisīt mapes arī. Vienkārši.
  4. Web lapa būs adresē: https://plaudis.codeberg.page