Coder Social home page Coder Social logo

khval / amoskittens Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 3.0 4.08 MB

Amos interpreter under development, most commands are support, some extensions are supported.

License: MIT License

C++ 93.02% C 6.95% Shell 0.01% AGS Script 0.01%
amos-interpreter amos amos-kittens amiga aros morphos linux-app

amoskittens's People

Contributors

khval avatar polluks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amoskittens's Issues

Mystic bug in polygon command

Describe the bug:

Some kind of problem with “polygon” command in Norway.Amos
its part of collection of AMOS programs made by LiveForIt / Kjetil, in the 1990’s

Talk (0% done)

Say, Set Talk, Mount Width, Mouth Height, Mount Read, Talk Stop, Talk Misc,

Problem with A(nim) command in AMAL.

Describe the bug:

Problem with “A" command in AMAL script.
Norway.Amos is part of collection of AMOS programs made by LiveForIt / Kjetil, in the 1990’s

Look for bugs.

*Check the right use of “new” and “delete”, and “delete[]”
check code for correct use of exception handling.

Need to fix joystick support.

Describe the bug:

Need to fix joystick support.

  • Respect axes and button offsets.
  • Analog axes should work as digital pad.

Make memory footprint smaller.

The exe file is really big, some attempt should be maded to make it smaller, so Amos Kittens can run on AmigaOS3.x, with limited amount of memory.

There are components of Amos Kittens only used when Amos programs are loaded, these components can be moved into a KittyPreprocessor.Library.

The files in this category is:

Pass1.cpp
include.cpp

Technically endianness swapping can also be done in this library if on little endian CPU.

Amos Pro gets out of memory error when loading pac.pic made by Amos kittens.

Describe the bug:

Pac.Pic files packed by Amos kittens is not 100% compatible with Pac.Pic made by AmosPro.

To Reproduce:

Steps to reproduce the behavior:

Pack a image using Amos Kittens.
load it in amos pro.
unpack 5 to 2

You get a out of memory error.

Expected behavior

No out of memory error.

Exception to the bug

Unpacking to current screen in Amos Pro works,
(so maybe something to do with screen info header.)

unpack 5

BUG in "Open In" or "input$" command

Describe the bug:

This is the code that is not working:

Trap Open in 1,"file"
prefs=asc(input$(1,1))
for a=0 to 7
trap line input #1,prefs$(A)
next a
close 1

File is not opend, and I get a error on input$(1,1),
i need to check if input$(1,1) should give a error or not.
Also need to check if file was opened or,
if it failed becouse some other error.

Amal language, the commands. (90,9%)

Supported registers. (36)
R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,
RA,RB,RC,RD,RE,RF,RG,RH,RI,RJ,
RK,RL,RM,RN,RO,RP,RQ,RR,RS,RT,
RU,RV,RW,RX,RY,RZ

Tottal Amal commands in Amos Pro 33, Amos Commands in Amos Kittens 35

Supported commands: (30)
For,To,Next,If,Let,AUtotest,A(object Image),Move,Pause,XMouse,YMouse,
Joy0,Joy1,Jump,Z(random),XHardware,YHardware,
BobCol,Col,X(axes),Y(axes),XScreen,YScreen,K1,K2,
On,Direct,Wait,eXit, SpriteCol

New commands bonus commands (same as commands for interface language): (+2)
SX(screen width),SY(screen height)

Dummy commands:
Vumeter,

Not working:
PLay,End,

30*100/33=90,9%

polygon bug

some times polygons are not drawn or they its rendered wrong
(the bug is not in Amos Kittens, but bug exists in retroMode.library, so this just keep track of it, reminder.)

bug in Anim/Amal.

Describe the bug:

Error: Syntax error in animation string at line number 15 in "Stars and Volumes 3.Amos"
(Old intro witten by LiveForIt in 1990's)

Keeping track of Not Yet Implemented stuff.

Dialog Update
Resource Unpack, Read Text
Every,VSCROLL?

Menu Key
Some work needed to get AMIGA+ALT symbols in the menu.

This commands will not be implemnted, they are for amos programs started by the editor
BGrab, Blength, Bstart, Bsend,

This commands are unlikely to be done, due to not the same internal structure as the real Amos.
Screen Base. Logicbasc, physbase, should have pop up message about incompatible AMOS code... commands not supported. and stop AMOS kittens before starting executing the code.

Bug in GOTO command.

Describe the bug:

Bug in GOTO command.

Some code like this, does not work, gets a syntax error (at line 495, in AED 2.25 amos program.)

procedure FUNC
a=2
If a=2 : GOTO 100 : End If
100
print "it works!!"
End Proc

Diamond.font size 20 is not displayed correct with command Text.

Describe the bug:

Diamond.font is not displayed correct with command Text.

To Reproduce:
`
Get Disc Fonts

font = 0

repeat

add font,1

trap f$=upper(font$(font))

if errn>0 then F$=""

if mid$(F$,0,len(fontname$)) = fontname$

set font font

exit

end if

until f$=""

`

Linux version doesn't build any more

Importent:

Before posting bug repport, make sure you have the lastest retromode.library installed.
and have the lastest files from github.

Describe the bug:

In many places case sensitivity is not respected by the file system, eg. OS!=os directory, AmosKittens.h != amosKittens.h. Makefile.linux is bitrotted as it doesn't pull in core_includes definitions. sys_free needs to be free not FreeVec under Linux.

To Reproduce:

from BASH prompt:
make -fmakefile.linux

Expected behavior
(it compiles)

Screenshots

N/A

Desktop (please complete the following information):

  • OS: [Manjaro Linux]
  • OS Version [current]
  • CPU: [x86_64]
  • Hardware: [2nd generation i7 with 16 GB of RAM]

Additional context

N/A

AmosPro issue, that might exist in Amos Kittens as well.

Is your feature request related to a problem? Please describe.

Baptiste Bideaux Yep, but when I load an ABK file into an other bank (10 for example), when I want to swap bank 1 and 10, not any bob display it. Bank 10 is named "Work" or "Data", not "Sprites"

Describe the solution you'd like

Bobs loaded into bank 10, should work, after swapping to bank 1.

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.