Author Topic: 8BP  (Read 15140 times)

0 Members and 1 Guest are viewing this topic.

Offline Sykobee (Briggsy)

  • 6128 Plus
  • ******
  • Posts: 756
  • Country: gb
  • Liked: 259
  • Likes Given: 390
Re: 8BP
« Reply #75 on: 00:56, 26 February 20 »
I guess the BASIC interpreter overhead is a real killer even with fast RSXs!


Just need a decent BASIC compiler that can support RSXs now... or just use C.

Offline sigh

  • 6128 Plus
  • ******
  • Posts: 1.251
  • Liked: 559
  • Likes Given: 52
Re: 8BP
« Reply #76 on: 01:57, 26 February 20 »
I guess the BASIC interpreter overhead is a real killer even with fast RSXs!


Just need a decent BASIC compiler that can support RSXs now... or just use C.
The speed is amazing when they are compiled:


https://www.youtube.com/watch?v=0ifIjdjgkEc&feature=emb_logo

Offline asertus

  • CPC664
  • ***
  • Posts: 94
  • Country: es
  • Liked: 68
  • Likes Given: 256
Re: 8BP
« Reply #77 on: 09:38, 26 February 20 »


I guess the BASIC interpreter overhead is a real killer even with fast RSXs!


Just need a decent BASIC compiler that can support RSXs now... or just use C.




Actually, José Javer has announced that there will be a C wrapper in the next version


Quote
Por último, a los que deseáis programar con 8BP en C, os diré que el wrapper de C ( un 8bp.h) lo tengo a medias y funciona perfectamente, de modo que podréis disfrutar de esta capacidad en la próxima versión V40



https://www.youtube.com/watch?v=SBvkoLRrwo0

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 723
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1525
  • Likes Given: 1199
Re: 8BP
« Reply #78 on: 09:41, 07 March 20 »
your amstrad news source in spanish language : https://auamstrad.es

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 723
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1525
  • Likes Given: 1199
your amstrad news source in spanish language : https://auamstrad.es

Online SkulleateR

  • CPC6128
  • ****
  • Posts: 200
  • Country: de
  • Liked: 114
  • Likes Given: 67
Re: 8BP
« Reply #80 on: 02:00, 28 April 20 »
Will there be a decent english translation soon ? love to get into 8bp but google translation is a bit ..... weird  :o :P

Offline jjaranda13

  • Dev
  • CPC464
  • *****
  • Posts: 34
  • Country: es
    • 8BP (8 bits de poder)
  • Liked: 102
  • Likes Given: 11
Re: 8BP
« Reply #81 on: 22:37, 28 April 20 »
Will there be a decent english translation soon ? love to get into 8bp but google translation is a bit ..... weird  :o :P




for sure. I am preparing 8BP V40 with C support. in coming weeks, 8BP will be accessible through BASIC , C and mix both (making a C routine for the game cycle will accelerate a lot your games, keeping simplicity for the rest of the game code). I am finishing it , and after I will start working on a REAL and QUALITY translation of the full manual, including a new chapter for 8BP programming using C




Online SkulleateR

  • CPC6128
  • ****
  • Posts: 200
  • Country: de
  • Liked: 114
  • Likes Given: 67
Re: 8BP
« Reply #82 on: 00:16, 29 April 20 »
Since I'm not into C I will only use the Basic Part ....


Anyway awesome work when I look at the demos  8) 8) 8)

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.832
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1055
  • Likes Given: 1779
Re: 8BP
« Reply #83 on: 09:03, 29 April 20 »
Since I'm not into C I will only use the Basic Part ....


Anyway awesome work when I look at the demos  8) 8) 8)


The alternative here for you would be CPC BASIC 3.


It isn't Locomotive BASIC, since it compiles into a very optimised assembly, the differences outlined on the website:


I'm unsure why @Sykobee (Briggsy) is saying there are no decent BASIC compilers which don't handle RSXes. CPC BASIC 3 handles them very well and earlier in this thread 8BP was tested with CPC BASIC 3 to produce a Mini Invaders game along with Video. I don't know if the source was released.
There was discussion about CPC BASIC 3 having limited memory space and I've noticed CPC BASIC 3 reserves area below &4000 for something else, I can't remember though what it was for. :( 
CPC BASIC 3 is limited to Windows, though I think others have used it using a Windows Emulation on Linux and MacOS systems.


I created a number of samples and posted them on the CPC BASIC 3 Forum


https://cpcbasic.activo.mx/f1-cpc-basic
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Online SkulleateR

  • CPC6128
  • ****
  • Posts: 200
  • Country: de
  • Liked: 114
  • Likes Given: 67
Re: 8BP
« Reply #84 on: 11:09, 29 April 20 »

The alternative here for you would be CPC BASIC 3.

No it isn´t ... I´m on Mac here  ;)
Besides that, I´m programming on real hardware here and I don´t need speed in particular since I won´t code action games  :laugh:

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.832
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1055
  • Likes Given: 1779
Re: 8BP
« Reply #85 on: 11:41, 29 April 20 »
8BP's function is for coding action games...
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Online SkulleateR

  • CPC6128
  • ****
  • Posts: 200
  • Country: de
  • Liked: 114
  • Likes Given: 67
Re: 8BP
« Reply #86 on: 12:28, 29 April 20 »
8BP's function is for coding action games...
Since I allready did some google translations ... yes it is but you can code a lot of other things with it  ;D

Offline Sykobee (Briggsy)

  • 6128 Plus
  • ******
  • Posts: 756
  • Country: gb
  • Liked: 259
  • Likes Given: 390
Re: 8BP
« Reply #87 on: 12:57, 29 April 20 »
I wasn't aware of CPC BASIC 3.

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.832
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1055
  • Likes Given: 1779
Re: 8BP
« Reply #88 on: 09:49, 01 May 20 »
I wasn't aware of CPC BASIC 3.


It's one of the lesser known Cross Compiler Languages which has been around since 2012 I think. @Morri wrote Let's Go with it and Sean McManus' Easi Sprite Driver Advance which is a great example of what can be produced with it. The earlier CPC BASIC has been documented on CPC Wiki with a Link to CPC BASIC 3 which has the frontend editor.


Here's the original thread for it:
https://www.cpcwiki.eu/forum/programming/cpc-basic-3/



* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Offline jjaranda13

  • Dev
  • CPC464
  • *****
  • Posts: 34
  • Country: es
    • 8BP (8 bits de poder)
  • Liked: 102
  • Likes Given: 11
Re: 8BP
« Reply #89 on: 19:54, 09 May 20 »
The problem with CPC BASIC 3 is that:

- CPC BASIC 3 uses 5KB extra (apart from your program) for your code
- additionally ,CPC BASIC 3 uses 16KB extra for work area

in total, a program of 5KB is converted into a 26 KB !!!! This is the reason why i don't recommend the use of BASIC 3

8BP uses only 8KB . And the news: in 8BP v40 you can  mix BASIC and C only consuming 2KB extra, including all 8BP commands which are available now in C and a reduced set of BASIC commands available from C (such as INKEY, PRINT, LOCATE, PLOT, DRAW ,SOUND  etc). These 2KB includes all 8BP and this mini BASIC. Your programs have 22 KB free for your code + 8.5 KB for graphics + 1.4 KB for music. You can develop a game in BASIC and when it is finished translate directly (very very easy) the "game cycle" (only the game cycle)  into C , compile it and obtain a great & fast professional game. This game is a mix between LOCOMOTIVE BASIC and C (only for game cycle)

in 8BP v40 if you want to use only BASIC, you continue having 24 KB free for your BASIC code, like in V39




« Last Edit: 19:57, 09 May 20 by jjaranda13 »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.865
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 841
  • Likes Given: 2096
Re: 8BP
« Reply #90 on: 21:48, 09 May 20 »
Back the day when German company Vortex released their 512 KB RAM expansion for CPC464 (1985 IIRC), it was already possible to use 256 KB for BASIC programs. Ok, you had to divide them into parts of 32 KB max. but there were RSX commands like !goto and !gosub and so on.

Now today, we're back to 20 or 30 KB? Come on, lets start to use expansion RAM too.  :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.832
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1055
  • Likes Given: 1779
Re: 8BP
« Reply #91 on: 01:23, 10 May 20 »
The problem with CPC BASIC 3 is that:

- CPC BASIC 3 uses 5KB extra (apart from your program) for your code
- additionally ,CPC BASIC 3 uses 16KB extra for work area

in total, a program of 5KB is converted into a 26 KB !!!! This is the reason why i don't recommend the use of BASIC 3

8BP uses only 8KB . And the news: in 8BP v40 you can  mix BASIC and C only consuming 2KB extra, including all 8BP commands which are available now in C and a reduced set of BASIC commands available from C (such as INKEY, PRINT, LOCATE, PLOT, DRAW ,SOUND  etc). These 2KB includes all 8BP and this mini BASIC. Your programs have 22 KB free for your code + 8.5 KB for graphics + 1.4 KB for music. You can develop a game in BASIC and when it is finished translate directly (very very easy) the "game cycle" (only the game cycle)  into C , compile it and obtain a great & fast professional game. This game is a mix between LOCOMOTIVE BASIC and C (only for game cycle)

in 8BP v40 if you want to use only BASIC, you continue having 24 KB free for your BASIC code, like in V39


Sounds like you should be writing your own language? Make it available on the web so there's no memory limitations and no systems prejudices or problematic installations or lack of documentation to deal with and watch the ASM games come pouring in.  ;D
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 723
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1525
  • Likes Given: 1199
Re: 8BP
« Reply #92 on: 12:43, 27 May 20 »
your amstrad news source in spanish language : https://auamstrad.es

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 723
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1525
  • Likes Given: 1199
Re: 8BP
« Reply #93 on: 12:59, 03 June 20 »

if someone wants a cassette, fill in the form: https://auamstrad.es/retroescena/edicion-fisica-eridu/
your amstrad news source in spanish language : https://auamstrad.es

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 723
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1525
  • Likes Given: 1199
Re: 8BP
« Reply #94 on: 15:09, 07 June 20 »
« Last Edit: 08:48, 08 June 20 by XeNoMoRPH »
your amstrad news source in spanish language : https://auamstrad.es

Offline jjaranda13

  • Dev
  • CPC464
  • *****
  • Posts: 34
  • Country: es
    • 8BP (8 bits de poder)
  • Liked: 102
  • Likes Given: 11
Re: 8BP
« Reply #95 on: 01:55, 09 June 20 »

8BP includes a 8BP wrapper (8bp.h) and a "minibasic" (minibasic.h) to make easier (like basic) develop games using C


https://www.youtube.com/watch?v=7Svxl4Gqzng

Offline eto

  • Speccy
  • *
  • Posts: 1
  • Country: de
  • Liked: 0
  • Likes Given: 0
Re: 8BP
« Reply #96 on: 19:58, 18 June 20 »
I was looking for the draft version of the documentation but I can't find it. It says in the ZIP, but where can I find this?

I would love to try this for my next game but my Spanish is too bad to understand the docs.

Offline asertus

  • CPC664
  • ***
  • Posts: 94
  • Country: es
  • Liked: 68
  • Likes Given: 256
Re: 8BP
« Reply #97 on: 20:30, 18 June 20 »
I was looking for the draft version of the documentation but I can't find it. It says in the ZIP, but where can I find this?

I would love to try this for my next game but my Spanish is too bad to understand the docs.


I am afraid José Javier has forgotten it in the latest version, and past versions are not in GIT. If he does not mind I share the manual of an older version of 8bp in English. Of course, quite outdated but @eto may try the basics, until last version manual is available in English.


To me it is a very good documentation. In most of the chapters you can learn a lot of CPC development even if you are not going to use 8bp... A very good job.