Giter Club home page Giter Club logo

Comments (20)

khval avatar khval commented on September 26, 2024 1

I guess a thread can be implemented using C++11 api, it does not matter really as we fallback on AmigaOS.

from amoskittens.

SamuraiCrow avatar SamuraiCrow commented on September 26, 2024 1

SDL2 works on Windows, Mac, Linux and MorphOS if you want to combine trips. Unlike version 1.2, SDL 2.0 wraps hardware graphics acceleration on all platforms.

from amoskittens.

khval avatar khval commented on September 26, 2024 1

the Linux build will also need Menu support, currently we are using AmigaOS menus, we need fallback to real legacy AMOS menus.

from amoskittens.

khval avatar khval commented on September 26, 2024 1

Yes sure it make sense to provide commands make it easier to code, but we also have some legacy to support.

something like this.
hsx=X hot spot(12)

from amoskittens.

khval avatar khval commented on September 26, 2024 1

There is also the width of bob, that peaple poke after, this of course gives really poor accuracy as its in number of int16’s, and not pixels on classic Amos, we have more precise width in Amos Kittens. so be a good idea to provide the better option without peeking after it.

from amoskittens.

khval avatar khval commented on September 26, 2024 1

Well lets see what we can use or not the ARGB stuff is not defined yet anyway, so we do what ever like, but logical that use same commands on ARGB as you can on 8bit, the only thing know I wont to do, is to forget about the palette in ARGB format, as just extra useless lookup.

from amoskittens.

khval avatar khval commented on September 26, 2024

sys_free is macro is defined depending on the OS, Linux build has broken for some time now.

from amoskittens.

khval avatar khval commented on September 26, 2024

Tokens has to be endian swapped before you can interpret the tokens.

from amoskittens.

khval avatar khval commented on September 26, 2024

64bit not really supported, peek / poke / deek / doke, poke into real memory, we need to preallocate a block of memory and make a internal memory allocation routine from that block to avoid the 64bit memory space, issue.

from amoskittens.

SamuraiCrow avatar SamuraiCrow commented on September 26, 2024

Adding SDL2 as a dependency will allow assembly optimized endian swapping via sdl_endian.h if interested.

from amoskittens.

khval avatar khval commented on September 26, 2024

Yes an Linux build need SDL, or Allegro, It might even be native X-Windows, what ever that API is.

from amoskittens.

khval avatar khval commented on September 26, 2024

For Linux we need allow building extensions as .so objects, so that’s a lot of work.
But I guess first thing is getting it working without extensions.

from amoskittens.

khval avatar khval commented on September 26, 2024

retroModePC is also out of date I guess.

from amoskittens.

khval avatar khval commented on September 26, 2024

Sure SDL2 sounds ok, makes no difference it all graphic routines are CPU driven routines, its only when you have the final result and need to scale it has any use, no 3D graphics supported anyway. Transfer between the CPU and GPU is so slow on AmigaOS, unless transferee a substantial block of graphic memory, only then it can use DMA, and only on some computers, GART not available sadly.

from amoskittens.

SamuraiCrow avatar SamuraiCrow commented on September 26, 2024

from amoskittens.

khval avatar khval commented on September 26, 2024

Peek, poke, leek, loke also needs to work with local variables,
Amos Basic “varptr” returns address of local variable. There is also "sprite base", "icon base", and so on as well. some stuff peek and poke to find the hotspot.

from amoskittens.

SamuraiCrow avatar SamuraiCrow commented on September 26, 2024

We'll just have to replace those special cases with specialized commands and functions like Var Peek() or Hot Spot X(spritenum)=varname.

from amoskittens.

SamuraiCrow avatar SamuraiCrow commented on September 26, 2024

Bob banks and icon banks should be stored as texture coordinates, width and height on a huge texture so we can use the texture mapper on the graphics card to blit faster.

from amoskittens.

khval avatar khval commented on September 26, 2024

Sure, we can do that, maybe hybridize retroMode fuse it with GL stuff.

from amoskittens.

SamuraiCrow avatar SamuraiCrow commented on September 26, 2024

That's what SDL version 2 does, but better! Windows uses DirectX, Mac uses Metal, Linux uses Mesa and MorphOS uses TinyGL. SDL2 bridges them all!

from amoskittens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.